com.ibm.wsspi.wssecurity.saml.config

Interface CredentialConfig

  • All Superinterfaces:
    Configuration, CredentialConfiguration


    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 use SAMLTokenFactory to get an instance of CredentialConfig.
    • Method Summary

      Methods 
      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.
    • Method Detail

      • getSAMLAttributes

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

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

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

        void setSAMLAttributes(java.util.List<SAMLAttribute> atts)
        This method must set the list of SAML User Attributes associated with the SAML token.
        Parameters:
        List<SAMLAttribute> - atts - List of SAMLAttribute objects.
      • setStringAttributes

        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.
        Parameters:
        Map<String, - String> atts - Map containing key/value pair of SAML string attributes.
      • setSAMLNameID

        void setSAMLNameID(SAMLNameID id)
        This method must set the SAMLNameID associated with the SAML token.
        Parameters:
        SAMLNameID - id - Name id of SAML token.
      • getProperties

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

        void setProperties(java.util.Map map)
        This method must set properties associated with the SAML token.
        Parameters:
        Map<String, - Object> map - Map containing key/value pair of SAML properties
IBM WebSphere Application ServerTM
Release 9.0