org.jasig.cas.authentication
Class SamlAuthenticationMetaDataPopulator
java.lang.Object
org.jasig.cas.authentication.SamlAuthenticationMetaDataPopulator
- All Implemented Interfaces:
- AuthenticationMetaDataPopulator
public class SamlAuthenticationMetaDataPopulator
- extends java.lang.Object
- implements AuthenticationMetaDataPopulator
AuthenticationMetaDataPopulator to retrieve the Authentication Type.
Note: Authentication Methods are exposed under the key:
samlAuthenticationStatement::authMethod in the Authentication
attributes map.
- Since:
- 3.1
- Version:
- $Revision: 46104 $ $Date: 2009-05-22 13:37:05 -0400 (Fri, 22 May 2009) $
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_AUTHENTICATION_METHOD
public static final java.lang.String ATTRIBUTE_AUTHENTICATION_METHOD
- See Also:
- Constant Field Values
SamlAuthenticationMetaDataPopulator
public SamlAuthenticationMetaDataPopulator()
populateAttributes
public final Authentication populateAttributes(Authentication authentication,
Credentials credentials)
- Description copied from interface:
AuthenticationMetaDataPopulator
- Provided with an Authentication object and the original credentials
presented, provide any additional attributes to the Authentication
object. Implementations have the option of returning the same
Authentication object, or a new one.
- Specified by:
populateAttributes in interface AuthenticationMetaDataPopulator
- Parameters:
authentication - The Authentication to potentially augment with
additional attributes.
- Returns:
- the original Authentication object or a new Authentication
object.
setUserDefinedMappings
public void setUserDefinedMappings(java.util.Map<java.lang.String,java.lang.String> userDefinedMappings)
- Map of user-defined mappings. Note it is possible to over-ride the
defaults. Mapping should be of the following type:
( )
Example: (<"org.jasig.cas.authentication.principal.HttpBasedServiceCredentials">
)
- Parameters:
userDefinedMappings - map of user defined authentication types.
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.