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 void
Channel. addAuthenticationHandler(AuthenticationHandler authHandler)
Add the specifiedAuthenticationHandler
to the list of AuthenticationHandlers used by the AuthenticationManager to process users' authentication.void
Channel. removeAuthenticationHandler(AuthenticationHandler authHandler)
Remove the specifiedAuthenticationHandler
from 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 theAuthenticationHandler
that 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 theAuthenticationHandler
that was used to authenticate the member for this request, by invokingAuthenticationContext.setLoggedMember(Member)
.java.util.SortedSet<AuthenticationHandler>
AuthenticationManager. getAuthenticationHandlerSet()
Retrieve the internal set ofAuthenticationHandler
managed 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 void
AuthenticationManager. addAuthenticationHandler(AuthenticationHandler authHdlr)
Add the specified AuthenticationHandler to the handlers collection already managed by the AuthenticationManager.int
AuthenticationHandler. compareTo(AuthenticationHandler authHdlr)
Compare this object with the specified AuthenticationHandler for order.void
AuthenticationManager. 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 void
AuthenticationContext. recordAuthenticationFailure(java.lang.String userId, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)
Record a failed authentication attempt, and throttle if needed.void
AuthenticationThrottleManager. recordAuthenticationFailure(java.lang.String userId, AuthenticationContext ctxt, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)
Record a failed authentication attempt.void
AuthenticationContext. throttleIfNeeded(java.lang.String userId, java.lang.Class<? extends AuthenticationHandler> authHdlrClass)
Checks and perform throttling if it is required for the current authentication attempt.boolean
AuthenticationThrottleManager. 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 class
AuthKeyAuthenticationHandler
Authenticates users using an "authentication key" parameter valid only for the request for which it is processed.class
ClientCertificateAuthenticationHandler
class
CookieAuthenticationHandler
Save 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"
.class
DelegationAuthenticationHandler
Uses the Member's delegation to allow him to change its identity to somebody else.class
HttpBasicAuthenticationHandler
Authenticates 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.class
HttpDigestAuthenticationHandler
Authenticates user using HTTP Authorization.class
JWTAuthenticationHandler
class
LoggingAuthenticationHandler
Provide 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.class
SessionAuthenticationHandler
Save authentification made by other handlers into session and use it later on to re-authenticate.class
SilentParamsAuthenticationHandler
Read the authentification from the "silent" parameter,silentLogin
,silentPassword
.class
SimpleAuthenticationHandler
Authenticate user based on the login/password of existing member in JCMS.
Current implementation of thisAuthenticationHandler
: stops the LoginChain on empty login or password.
-