Class BasicAuthenticationHttpContext

java.lang.Object
org.osgi.service.servlet.context.ServletContextHelper
org.jolokia.server.core.osgi.security.DefaultServletContextHelper
org.jolokia.server.core.osgi.security.BasicAuthenticationHttpContext

public class BasicAuthenticationHttpContext extends DefaultServletContextHelper
Authentication context which uses a simple user/password credential pair
Since:
Jan 7, 2010
Author:
roland
  • Constructor Details

    • BasicAuthenticationHttpContext

      public BasicAuthenticationHttpContext(String pRealm, Authenticator pAuthenticator)
      Constructor
      Parameters:
      pRealm - realm to authenticate against
  • Method Details

    • handleSecurity

      public boolean handleSecurity(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Overrides:
      handleSecurity in class org.osgi.service.servlet.context.ServletContextHelper
      Throws:
      IOException