Class SubjectBean
java.lang.Object
org.apache.wss4j.common.saml.bean.SubjectBean
Class SubjectBean represents a SAML subject (can be used to create
both SAML v1.1 and v2.0 statements)
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor SubjectBean creates a new SubjectBean instance.SubjectBean(String subjectName, String subjectNameQualifier, String subjectConfirmationMethod) Constructor SubjectBean creates a new SubjectBean instance.SubjectBean(String subjectName, String subjectNameQualifier, String subjectConfirmationMethod, String subjectNameIDFormat) Constructor SubjectBean creates a new SubjectBean instance.SubjectBean(String subjectName, String subjectNameQualifier, String subjectConfirmationMethod, String subjectNameIDFormat, String subjectNameSPProvidedID) Constructor SubjectBean creates a new SubjectBean instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod equals ...Method getKeyInfo returns the keyInfo of this SubjectBean object.Set the SubjectConfirmationData of this SubjectBean objectMethod getSubjectConfirmationMethod returns the subjectConfirmationMethod of this SubjectBean object.Get the NameId of the SubjectConfirmation objectMethod getSubjectName returns the subjectName of this SubjectBean object.Method getSubjectNameIDFormat returns the subjectNameIDFormat of this SubjectBean object.Method getSubjectNameQualifier returns the subjectNameQualifier of this SubjectBean object.inthashCode()voidsetKeyInfo(KeyInfoBean keyInfo) Method setKeyInfo sets the keyInfo of this SubjectBean object.voidsetSubjectConfirmationData(SubjectConfirmationDataBean subjectConfirmationData) Get the SubjectConfirmationData of this SubjectBean objectvoidsetSubjectConfirmationMethod(String subjectConfirmationMethod) Method setSubjectConfirmationMethod sets the subjectConfirmationMethod of this SubjectBean object.voidsetSubjectConfirmationNameID(NameIDBean subjectConfirmationNameID) Set the NameID of the SubjectConfirmation objectvoidsetSubjectName(String subjectName) Method setSubjectName sets the subjectName of this SubjectBean object.voidsetSubjectNameIDFormat(String subjectNameIDFormat) Method setSubjectNameIDFormat sets the subjectNameIDFormat of this SubjectBean object.voidsetSubjectNameQualifier(String subjectNameQualifier) Method setSubjectNameQualifier sets the subjectNameQualifier of this SubjectBean object.voidsetSubjectNameSPNameQualifier(String subjectNameSPNameQualifier) voidsetSubjectNameSPProvidedID(String subjectNameSPProvidedID)
-
Constructor Details
-
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 StringsubjectNameQualifier- of type StringsubjectConfirmationMethod- 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 StringsubjectNameQualifier- of type StringsubjectConfirmationMethod- of type StringsubjectNameIDFormat- 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 StringsubjectNameQualifier- of type StringsubjectConfirmationMethod- of type StringsubjectNameIDFormat- of type StringsubjectNameSPProvidedID- of type String
-
-
Method Details
-
getSubjectName
Method getSubjectName returns the subjectName of this SubjectBean object.- Returns:
- the subjectName (type String) of this SubjectBean object.
-
setSubjectName
Method setSubjectName sets the subjectName of this SubjectBean object.- Parameters:
subjectName- the subjectName of this SubjectBean object.
-
getSubjectNameQualifier
Method getSubjectNameQualifier returns the subjectNameQualifier of this SubjectBean object.- Returns:
- the subjectNameQualifier (type String) of this SubjectBean object.
-
setSubjectNameQualifier
Method setSubjectNameQualifier sets the subjectNameQualifier of this SubjectBean object.- Parameters:
subjectNameQualifier- the subjectNameQualifier of this SubjectBean object.
-
getSubjectConfirmationMethod
Method getSubjectConfirmationMethod returns the subjectConfirmationMethod of this SubjectBean object.- Returns:
- the subjectConfirmationMethod (type String) of this SubjectBean object.
-
setSubjectConfirmationMethod
Method setSubjectConfirmationMethod sets the subjectConfirmationMethod of this SubjectBean object.- Parameters:
subjectConfirmationMethod- the subjectConfirmationMethod of this SubjectBean object.
-
getSubjectNameIDFormat
Method getSubjectNameIDFormat returns the subjectNameIDFormat of this SubjectBean object.- Returns:
- the subjectNameIDFormat (type String) of this SubjectBean object.
-
setSubjectNameIDFormat
Method setSubjectNameIDFormat sets the subjectNameIDFormat of this SubjectBean object.- Parameters:
subjectNameIDFormat- the subjectNameIDFormat of this SubjectBean object.
-
getSubjectNameSPNameQualifier
-
setSubjectNameSPNameQualifier
-
getSubjectNameSPProvidedID
-
setSubjectNameSPProvidedID
-
getKeyInfo
Method getKeyInfo returns the keyInfo of this SubjectBean object.- Returns:
- the keyInfo (type KeyInfoBean) of this SubjectBean object.
-
setKeyInfo
Method setKeyInfo sets the keyInfo of this SubjectBean object.- Parameters:
keyInfo- the keyInfo of this SubjectBean object.
-
getSubjectConfirmationData
Set the SubjectConfirmationData of this SubjectBean object- Returns:
- the SubjectConfirmationData of this SubjectBean object
-
setSubjectConfirmationData
Get the SubjectConfirmationData of this SubjectBean object- Parameters:
subjectConfirmationData- the SubjectConfirmationData of this SubjectBean object
-
getSubjectConfirmationNameID
Get the NameId of the SubjectConfirmation object- Returns:
- the NameId of the SubjectConfirmation object
-
setSubjectConfirmationNameID
Set the NameID of the SubjectConfirmation object- Parameters:
subjectConfirmationNameID- the NameID of the SubjectConfirmation object
-
equals
Method equals ... -
hashCode
public int hashCode()
-