Class InternalTokenAuthenticator
- java.lang.Object
-
- de.xima.fc.security.pac4j.authentication.InternalTokenAuthenticator
-
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class InternalTokenAuthenticator extends Object implements org.pac4j.core.credentials.authenticator.Authenticator
Authenticator that validates the token and checks if the token is cached.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)static InternalTokenAuthenticatorwithAuthenticator(org.pac4j.core.credentials.authenticator.Authenticator delegate)Creates a new instance of theInternalTokenAuthenticatorwith the given authenticator.
-
-
-
Method Detail
-
withAuthenticator
public static InternalTokenAuthenticator withAuthenticator(org.pac4j.core.credentials.authenticator.Authenticator delegate)
Creates a new instance of theInternalTokenAuthenticatorwith the given authenticator.- Parameters:
delegate- the authenticator to use- Returns:
- the new instance
-
validate
public void validate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)- Specified by:
validatein interfaceorg.pac4j.core.credentials.authenticator.Authenticator
-
-