Class JaasAuthenticator
java.lang.Object
org.jolokia.server.core.osgi.security.BaseAuthenticator
org.jolokia.server.core.osgi.security.JaasAuthenticator
- All Implemented Interfaces:
Authenticator
- Since:
- 26.05.14
- Author:
- roland
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LoginContextcreateLoginContext(String realm, CallbackHandler handler) protected booleandoAuthenticate(jakarta.servlet.http.HttpServletRequest pRequest, AuthorizationHeaderParser.Result pAuthInfo) Overriden by concrete implementations for doing the real authenticationMethods inherited from class org.jolokia.server.core.osgi.security.BaseAuthenticator
authenticate
-
Constructor Details
-
JaasAuthenticator
-
-
Method Details
-
doAuthenticate
protected boolean doAuthenticate(jakarta.servlet.http.HttpServletRequest pRequest, AuthorizationHeaderParser.Result pAuthInfo) Description copied from class:BaseAuthenticatorOverriden by concrete implementations for doing the real authentication- Specified by:
doAuthenticatein classBaseAuthenticator- Parameters:
pRequest- request which can be used to store additional authentication informationpAuthInfo- authentication information provided by the user- Returns:
- true if authentication is ok, false otherwise
-
createLoginContext
protected LoginContext createLoginContext(String realm, CallbackHandler handler) throws LoginException - Throws:
LoginException
-