public interface CredentialConfig extends CredentialConfiguration
Configuration interface to create Credential Configuration objects. An object implementing this interface would store the different attributes needed to create a SAML token.
User should never implement this interface directly, and is required to useSAMLTokenFactory
to get an instance of CredentialConfig.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AuthenticationInstant |
static java.lang.String |
AuthenticationMethod |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getProperties()
This method must return the properties associated with the SAML token.
|
java.util.List<SAMLAttribute> |
getSAMLAttributes()
This method must return the list of SAML User Attributes associated with the SAML token.
|
SAMLNameID |
getSAMLNameID()
This method must return the SAMLNameID associated with the SAML token.
|
void |
setProperties(java.util.Map map)
This method must set properties associated with the SAML token.
|
void |
setRequesterNameID(java.lang.String id)
This method must set the ID for the SAML token requester.
|
void |
setSAMLAttributes(java.util.List<SAMLAttribute> atts)
This method must set the list of SAML User Attributes associated with the SAML token.
|
void |
setSAMLNameID(SAMLNameID id)
This method must set the SAMLNameID associated with the SAML token.
|
void |
setStringAttributes(java.util.Map<java.lang.String,java.lang.String> atts)
This method must set the list of string attributes associated with the SAML token.
|
validate
static final java.lang.String AuthenticationInstant
static final java.lang.String AuthenticationMethod
java.util.List<SAMLAttribute> getSAMLAttributes()
SAMLNameID getSAMLNameID()
SAMLNameID
void setRequesterNameID(java.lang.String id)
void setSAMLAttributes(java.util.List<SAMLAttribute> atts)
List<SAMLAttribute>
- atts - List of SAMLAttribute
objects.void setStringAttributes(java.util.Map<java.lang.String,java.lang.String> atts)
Map<String,
- String> atts - Map containing key/value pair of SAML string attributes.void setSAMLNameID(SAMLNameID id)
SAMLNameID
- id - Name id of SAML token.java.util.Map getProperties()
Map
void setProperties(java.util.Map map)
Map<String,
- Object> map - Map containing key/value pair of SAML properties