Class SubjectBean


  • public class SubjectBean
    extends Object
    Class SubjectBean represents a SAML subject (can be used to create both SAML v1.1 and v2.0 statements)
    • Constructor Detail

      • SubjectBean

        public SubjectBean()
        Constructor SubjectBean creates a new SubjectBean instance.
      • SubjectBean

        public SubjectBean​(String subjectName,
                           String subjectNameQualifier,
                           String subjectConfirmationMethod)
        Constructor SubjectBean creates a new SubjectBean instance.
        Parameters:
        subjectName - of type String
        subjectNameQualifier - of type String
        subjectConfirmationMethod - of type String
      • SubjectBean

        public SubjectBean​(String subjectName,
                           String subjectNameQualifier,
                           String subjectConfirmationMethod,
                           String subjectNameIDFormat)
        Constructor SubjectBean creates a new SubjectBean instance.
        Parameters:
        subjectName - of type String
        subjectNameQualifier - of type String
        subjectConfirmationMethod - of type String
        subjectNameIDFormat - of type String
      • SubjectBean

        public SubjectBean​(String subjectName,
                           String subjectNameQualifier,
                           String subjectConfirmationMethod,
                           String subjectNameIDFormat,
                           String subjectNameSPProvidedID)
        Constructor SubjectBean creates a new SubjectBean instance.
        Parameters:
        subjectName - of type String
        subjectNameQualifier - of type String
        subjectConfirmationMethod - of type String
        subjectNameIDFormat - of type String
        subjectNameSPProvidedID - of type String
    • Method Detail

      • getSubjectName

        public String getSubjectName()
        Method getSubjectName returns the subjectName of this SubjectBean object.
        Returns:
        the subjectName (type String) of this SubjectBean object.
      • setSubjectName

        public void setSubjectName​(String subjectName)
        Method setSubjectName sets the subjectName of this SubjectBean object.
        Parameters:
        subjectName - the subjectName of this SubjectBean object.
      • getSubjectNameQualifier

        public String getSubjectNameQualifier()
        Method getSubjectNameQualifier returns the subjectNameQualifier of this SubjectBean object.
        Returns:
        the subjectNameQualifier (type String) of this SubjectBean object.
      • setSubjectNameQualifier

        public void setSubjectNameQualifier​(String subjectNameQualifier)
        Method setSubjectNameQualifier sets the subjectNameQualifier of this SubjectBean object.
        Parameters:
        subjectNameQualifier - the subjectNameQualifier of this SubjectBean object.
      • getSubjectConfirmationMethod

        public String getSubjectConfirmationMethod()
        Method getSubjectConfirmationMethod returns the subjectConfirmationMethod of this SubjectBean object.
        Returns:
        the subjectConfirmationMethod (type String) of this SubjectBean object.
      • setSubjectConfirmationMethod

        public void setSubjectConfirmationMethod​(String subjectConfirmationMethod)
        Method setSubjectConfirmationMethod sets the subjectConfirmationMethod of this SubjectBean object.
        Parameters:
        subjectConfirmationMethod - the subjectConfirmationMethod of this SubjectBean object.
      • getSubjectNameIDFormat

        public String getSubjectNameIDFormat()
        Method getSubjectNameIDFormat returns the subjectNameIDFormat of this SubjectBean object.
        Returns:
        the subjectNameIDFormat (type String) of this SubjectBean object.
      • setSubjectNameIDFormat

        public void setSubjectNameIDFormat​(String subjectNameIDFormat)
        Method setSubjectNameIDFormat sets the subjectNameIDFormat of this SubjectBean object.
        Parameters:
        subjectNameIDFormat - the subjectNameIDFormat of this SubjectBean object.
      • getSubjectNameSPNameQualifier

        public String getSubjectNameSPNameQualifier()
      • setSubjectNameSPNameQualifier

        public void setSubjectNameSPNameQualifier​(String subjectNameSPNameQualifier)
      • getSubjectNameSPProvidedID

        public String getSubjectNameSPProvidedID()
      • setSubjectNameSPProvidedID

        public void setSubjectNameSPProvidedID​(String subjectNameSPProvidedID)
      • getKeyInfo

        public KeyInfoBean getKeyInfo()
        Method getKeyInfo returns the keyInfo of this SubjectBean object.
        Returns:
        the keyInfo (type KeyInfoBean) of this SubjectBean object.
      • setKeyInfo

        public void setKeyInfo​(KeyInfoBean keyInfo)
        Method setKeyInfo sets the keyInfo of this SubjectBean object.
        Parameters:
        keyInfo - the keyInfo of this SubjectBean object.
      • getSubjectConfirmationData

        public SubjectConfirmationDataBean getSubjectConfirmationData()
        Set the SubjectConfirmationData of this SubjectBean object
        Returns:
        the SubjectConfirmationData of this SubjectBean object
      • setSubjectConfirmationData

        public void setSubjectConfirmationData​(SubjectConfirmationDataBean subjectConfirmationData)
        Get the SubjectConfirmationData of this SubjectBean object
        Parameters:
        subjectConfirmationData - the SubjectConfirmationData of this SubjectBean object
      • getSubjectConfirmationNameID

        public NameIDBean getSubjectConfirmationNameID()
        Get the NameId of the SubjectConfirmation object
        Returns:
        the NameId of the SubjectConfirmation object
      • setSubjectConfirmationNameID

        public void setSubjectConfirmationNameID​(NameIDBean subjectConfirmationNameID)
        Set the NameID of the SubjectConfirmation object
        Parameters:
        subjectConfirmationNameID - the NameID of the SubjectConfirmation object
      • equals

        public boolean equals​(Object o)
        Method equals ...
        Overrides:
        equals in class Object
        Parameters:
        o - of type Object
        Returns:
        boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
        the hashcode of this object