public class SamlAuthenticationMetaDataPopulator
extends org.apereo.cas.authentication.metadata.BaseAuthenticationMetaDataPopulator
Note: Authentication Methods are exposed under the key:
samlAuthenticationStatement::authMethod in the Authentication
attributes map.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_AUTHENTICATION_METHOD
The Constant ATTRIBUTE_AUTHENTICATION_METHOD.
|
static java.lang.String |
AUTHN_METHOD_PASSWORD
The Constant AUTHN_METHOD_PASSWORD.
|
static java.lang.String |
AUTHN_METHOD_SSL_TLS_CLIENT
The Constant AUTHN_METHOD_SSL_TLS_CLIENT.
|
static java.lang.String |
AUTHN_METHOD_UNSPECIFIED
The Constant AUTHN_METHOD_UNSPECIFIED.
|
static java.lang.String |
AUTHN_METHOD_X509_PUBLICKEY
The Constant AUTHN_METHOD_X509_PUBLICKEY.
|
| Constructor and Description |
|---|
SamlAuthenticationMetaDataPopulator()
Instantiates a new SAML authentication meta data populator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
populateAttributes(org.apereo.cas.authentication.AuthenticationBuilder builder,
org.apereo.cas.authentication.AuthenticationTransaction transaction) |
void |
setUserDefinedMappings(java.util.Map<java.lang.String,java.lang.String> userDefinedMappings)
Map of user-defined mappings.
|
boolean |
supports(org.apereo.cas.authentication.Credential credential) |
java.lang.String |
toString() |
public static final java.lang.String ATTRIBUTE_AUTHENTICATION_METHOD
public static final java.lang.String AUTHN_METHOD_PASSWORD
public static final java.lang.String AUTHN_METHOD_SSL_TLS_CLIENT
public static final java.lang.String AUTHN_METHOD_X509_PUBLICKEY
public static final java.lang.String AUTHN_METHOD_UNSPECIFIED
public SamlAuthenticationMetaDataPopulator()
public void populateAttributes(org.apereo.cas.authentication.AuthenticationBuilder builder,
org.apereo.cas.authentication.AuthenticationTransaction transaction)
public boolean supports(org.apereo.cas.authentication.Credential credential)
public void setUserDefinedMappings(java.util.Map<java.lang.String,java.lang.String> userDefinedMappings)
Package/Class Name as String -> Name SAML Type
Example: ("HttpBasedServiceCredential"
-> SAMLAuthenticationStatement.AuthenticationMethod_SSL_TLS_Client)
userDefinedMappings - map of user defined authentication types.public java.lang.String toString()
toString in class org.apereo.cas.authentication.metadata.BaseAuthenticationMetaDataPopulator