Class RequiredJWTIssuerAuthenticator
- java.lang.Object
-
- de.xima.fc.security.pac4j.authentication.RequiredJWTIssuerAuthenticator
-
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class RequiredJWTIssuerAuthenticator extends Object implements org.pac4j.core.credentials.authenticator.Authenticator
Default JWT authenticator that requires a specificissuer.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequiredJWTIssuerAuthenticatorforClientName(String clientName, org.pac4j.core.credentials.authenticator.Authenticator delegate)Creates a new instance of theRequiredJWTIssuerAuthenticatorwith the given client name and authenticator.voidvalidate(org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore)
-
-
-
Method Detail
-
forClientName
public static RequiredJWTIssuerAuthenticator forClientName(String clientName, org.pac4j.core.credentials.authenticator.Authenticator delegate)
Creates a new instance of theRequiredJWTIssuerAuthenticatorwith the given client name and authenticator.- Parameters:
clientName- the client name to requiredelegate- 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
-
-