Uses of Class
com.jalios.jcms.authentication.AuthenticationHandler
-
Packages that use AuthenticationHandler Package Description com.jalios.jcms Contains the core JPlatform classes.com.jalios.jcms.authentication com.jalios.jcms.authentication.handlers -
-
Uses of AuthenticationHandler in com.jalios.jcms
Methods in com.jalios.jcms with parameters of type AuthenticationHandler Modifier and Type Method Description voidChannel. addAuthenticationHandler(AuthenticationHandler authHandler)Add the specifiedAuthenticationHandlerto the list of AuthenticationHandlers used by the AuthenticationManager to process users' authentication.voidChannel. removeAuthenticationHandler(AuthenticationHandler authHandler)Remove the specifiedAuthenticationHandlerfrom the list of AuthenticationHandlers used by the AuthenticationManager to process users' authentication. -
Uses of AuthenticationHandler in com.jalios.jcms.authentication
Methods in com.jalios.jcms.authentication that return types with arguments of type AuthenticationHandler Modifier and Type Method Description java.lang.Class<? extends AuthenticationHandler>AuthenticationContext. getAuthenticationHandlerClass()Retrieve theClass<? extends AuthenticationHandler>of theAuthenticationHandlerthat was used to authenticate the member for this request, by invokingAuthenticationContext.setLoggedMember(Member).static java.lang.Class<? extends AuthenticationHandler>AuthenticationContext. getAuthenticationHandlerClass(javax.servlet.http.HttpServletRequest request)Retrieve theClass<? extends AuthenticationHandler>of theAuthenticationHandlerthat was used to authenticate the member for this request, by invokingAuthenticationContext.setLoggedMember(Member).java.util.SortedSet<AuthenticationHandler>AuthenticationManager. getAuthenticationHandlerSet()Retrieve the internal set ofAuthenticationHandlermanaged by the AuthenticationManager.
Modify only if you are sure of what you do...Methods in com.jalios.jcms.authentication with parameters of type AuthenticationHandler Modifier and Type Method Description voidAuthenticationManager. addAuthenticationHandler(AuthenticationHandler authHdlr)Add the specified AuthenticationHandler to the handlers collection already managed by the AuthenticationManager.intAuthenticationHandler. compareTo(AuthenticationHandler authHdlr)Compare this object with the specified AuthenticationHandler for order.voidAuthenticationManager. removeAuthenticationHandler(AuthenticationHandler authHdlr)Remove the specified AuthenticationHandler from the handlers managed by the AuthenticationManager.Method parameters in com.jalios.jcms.authentication with type arguments of type AuthenticationHandler Modifier and Type Method Description voidAuthenticationContext. recordAuthenticationFailure(java.lang.String userId, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)Record a failed authentication attempt, and throttle if needed.voidAuthenticationThrottleManager. recordAuthenticationFailure(java.lang.String userId, AuthenticationContext ctxt, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)Record a failed authentication attempt.voidAuthenticationContext. throttleIfNeeded(java.lang.String userId, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)Checks and perform throttling if it is required for the current authentication attempt.booleanAuthenticationThrottleManager. throttleIfNeeded(java.lang.String userId, AuthenticationContext ctxt, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)Throttle an authentication attempt given specified context. -
Uses of AuthenticationHandler in com.jalios.jcms.authentication.handlers
Subclasses of AuthenticationHandler in com.jalios.jcms.authentication.handlers Modifier and Type Class Description classAuthKeyAuthenticationHandlerAuthenticates users using an "authentication key" parameter valid only for the request for which it is processed.classClientCertificateAuthenticationHandlerclassCookieAuthenticationHandlerSave authentification made by other handlers into cookie and use it later on to re-authenticate.
You can disable this handler by modifiying property"auth-mgr.cookie-enabled".classDelegationAuthenticationHandlerUses the Member's delegation to allow him to change its identity to somebody else.classHttpBasicAuthenticationHandlerAuthenticates user using HTTP Authorization.
In order to make it work you are responsible to call the methodHttpBasicAuthenticationHandler.setHttpBasicAuthorizationHeader(HttpServletResponse, String)to trigger a HTTP Authorization response, the handler will deal with decoding of the next request.classHttpDigestAuthenticationHandlerAuthenticates user using HTTP Authorization.classJWTAuthenticationHandlerclassLoggingAuthenticationHandlerProvide logging of the authentication process using log4j.
This authentication handler must be the first in the list of authentication handlers to be able to log authentication made by other handlers.classSessionAuthenticationHandlerSave authentification made by other handlers into session and use it later on to re-authenticate.classSilentParamsAuthenticationHandlerRead the authentification from the "silent" parameter,silentLogin,silentPassword.classSimpleAuthenticationHandlerAuthenticate user based on the login/password of existing member in JCMS.
Current implementation of thisAuthenticationHandler: stops the LoginChain on empty login or password.
-