Class BasicAuthenticator

java.lang.Object
org.jolokia.server.core.osgi.security.BaseAuthenticator
org.jolokia.server.core.osgi.security.BasicAuthenticator
All Implemented Interfaces:
Authenticator

public class BasicAuthenticator extends BaseAuthenticator
Since:
26.05.14
Author:
roland
  • Constructor Details

    • BasicAuthenticator

      public BasicAuthenticator(String pUser, String pPassword)
  • Method Details

    • doAuthenticate

      protected boolean doAuthenticate(jakarta.servlet.http.HttpServletRequest pRequest, AuthorizationHeaderParser.Result pAuthInfo)
      Description copied from class: BaseAuthenticator
      Overriden by concrete implementations for doing the real authentication
      Specified by:
      doAuthenticate in class BaseAuthenticator
      Parameters:
      pRequest - request which can be used to store additional authentication information
      pAuthInfo - authentication information provided by the user
      Returns:
      true if authentication is ok, false otherwise