public class SAML2Authenticator extends ProfileDefinitionAware<SAML2Profile> implements Authenticator<SAML2Credentials>
Modifier and Type | Field and Description |
---|---|
static String |
AUTHN_CONTEXT |
static String |
ISSUER_ID |
protected org.slf4j.Logger |
logger |
static String |
SAML_CONDITION_NOT_BEFORE_ATTRIBUTE |
static String |
SAML_CONDITION_NOT_ON_OR_AFTER_ATTRIBUTE |
static String |
SAML_NAME_ID_FORMAT |
static String |
SAML_NAME_ID_NAME_QUALIFIER |
static String |
SAML_NAME_ID_SP_NAME_QUALIFIER |
static String |
SAML_NAME_ID_SP_PROVIDED_ID |
static String |
SESSION_INDEX |
Constructor and Description |
---|
SAML2Authenticator(String attributeAsId) |
Modifier and Type | Method and Description |
---|---|
protected void |
internalInit()
Internal initialization of the object.
|
void |
validate(SAML2Credentials credentials,
WebContext context)
Validate the credentials.
|
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
init
public static final String SAML_CONDITION_NOT_BEFORE_ATTRIBUTE
public static final String SAML_CONDITION_NOT_ON_OR_AFTER_ATTRIBUTE
public static final String SESSION_INDEX
public static final String ISSUER_ID
public static final String AUTHN_CONTEXT
public static final String SAML_NAME_ID_FORMAT
public static final String SAML_NAME_ID_NAME_QUALIFIER
public static final String SAML_NAME_ID_SP_NAME_QUALIFIER
public static final String SAML_NAME_ID_SP_PROVIDED_ID
protected final org.slf4j.Logger logger
public SAML2Authenticator(String attributeAsId)
protected void internalInit()
InitializableObject
internalInit
in class InitializableObject
public void validate(SAML2Credentials credentials, WebContext context)
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<SAML2Credentials>
credentials
- the given credentialscontext
- the web contextCopyright © 2018. All rights reserved.