com.ibm.wsspi.wssecurity.saml.config

Interface CredentialConfig

All Superinterfaces:
Configuration, com.ibm.wsspi.wssecurity.core.token.config.CredentialConfiguration

  1. public interface CredentialConfig
  2. extends com.ibm.wsspi.wssecurity.core.token.config.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 use SAMLTokenFactory to get an instance of CredentialConfig.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
AuthenticationInstant
  1. static
  2. java.lang.String
AuthenticationMethod

Method Summary

Modifier and Type Method and Description
  1. java.util.Map
getProperties()
This method must return the properties associated with the SAML token.
  1. java.util.List<SAMLAttribute>
getSAMLAttributes()
This method must return the list of SAML User Attributes associated with the SAML token.
  1. SAMLNameID
getSAMLNameID()
This method must return the SAMLNameID associated with the SAML token.
  1. void
setProperties(java.util.Map map)
This method must set properties associated with the SAML token.
  1. void
setRequesterNameID(java.lang.String id)
This method must set the ID for the SAML token requester.
  1. void
setSAMLAttributes(java.util.List<SAMLAttribute> atts)
This method must set the list of SAML User Attributes associated with the SAML token.
  1. void
setSAMLNameID(SAMLNameID id)
This method must set the SAMLNameID associated with the SAML token.
  1. 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.
Methods inherited from interface com.ibm.wsspi.wssecurity.core.config.Configuration
validate

Field Detail

AuthenticationInstant

  1. static final java.lang.String AuthenticationInstant
See Also:

AuthenticationMethod

  1. static final java.lang.String AuthenticationMethod
See Also:

Method Detail

getSAMLAttributes

  1. java.util.List<SAMLAttribute> getSAMLAttributes( )
This method must return the list of SAML User Attributes associated with the SAML token.
Returns:
List - SAMLToken attributes

getSAMLNameID

  1. SAMLNameID getSAMLNameID()
This method must return the SAMLNameID associated with the SAML token.
Returns:

setRequesterNameID

  1. void setRequesterNameID(java.lang.String id)
This method must set the ID for the SAML token requester.

setSAMLAttributes

  1. void setSAMLAttributes(java.util.List<SAMLAttribute> atts)
This method must set the list of SAML User Attributes associated with the SAML token.

setStringAttributes

  1. 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.

setSAMLNameID

  1. void setSAMLNameID(SAMLNameID id)
This method must set the SAMLNameID associated with the SAML token.

getProperties

  1. java.util.Map getProperties()
This method must return the properties associated with the SAML token.
Returns:
Map

setProperties

  1. void setProperties(java.util.Map map)
This method must set properties associated with the SAML token.