public class SamlAuthenticationMetaDataPopulator extends Object implements AuthenticationMetaDataPopulator
Note: Authentication Methods are exposed under the key:
samlAuthenticationStatement::authMethod in the Authentication
attributes map.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_AUTHENTICATION_METHOD |
| Constructor and Description |
|---|
SamlAuthenticationMetaDataPopulator() |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
populateAttributes(Authentication authentication,
Credentials credentials)
Provided with an Authentication object and the original credentials
presented, provide any additional attributes to the Authentication
object.
|
void |
setUserDefinedMappings(Map<String,String> userDefinedMappings)
Map of user-defined mappings.
|
public static final String ATTRIBUTE_AUTHENTICATION_METHOD
public final Authentication populateAttributes(Authentication authentication, Credentials credentials)
AuthenticationMetaDataPopulatorpopulateAttributes in interface AuthenticationMetaDataPopulatorauthentication - The Authentication to potentially augment with
additional attributes.public void setUserDefinedMappings(Map<String,String> userDefinedMappings)
(
Example: (<"org.jasig.cas.authentication.principal.HttpBasedServiceCredentials">
userDefinedMappings - map of user defined authentication types.Copyright © 2004-2012 Jasig. All Rights Reserved.