Class SubjectBean
- java.lang.Object
-
- org.apache.wss4j.common.saml.bean.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 Summary
Constructors Constructor Description SubjectBean()
Constructor 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Method equals ...KeyInfoBean
getKeyInfo()
Method getKeyInfo returns the keyInfo of this SubjectBean object.SubjectConfirmationDataBean
getSubjectConfirmationData()
Set the SubjectConfirmationData of this SubjectBean objectString
getSubjectConfirmationMethod()
Method getSubjectConfirmationMethod returns the subjectConfirmationMethod of this SubjectBean object.NameIDBean
getSubjectConfirmationNameID()
Get the NameId of the SubjectConfirmation objectString
getSubjectName()
Method getSubjectName returns the subjectName of this SubjectBean object.String
getSubjectNameIDFormat()
Method getSubjectNameIDFormat returns the subjectNameIDFormat of this SubjectBean object.String
getSubjectNameQualifier()
Method getSubjectNameQualifier returns the subjectNameQualifier of this SubjectBean object.String
getSubjectNameSPNameQualifier()
String
getSubjectNameSPProvidedID()
int
hashCode()
void
setKeyInfo(KeyInfoBean keyInfo)
Method setKeyInfo sets the keyInfo of this SubjectBean object.void
setSubjectConfirmationData(SubjectConfirmationDataBean subjectConfirmationData)
Get the SubjectConfirmationData of this SubjectBean objectvoid
setSubjectConfirmationMethod(String subjectConfirmationMethod)
Method setSubjectConfirmationMethod sets the subjectConfirmationMethod of this SubjectBean object.void
setSubjectConfirmationNameID(NameIDBean subjectConfirmationNameID)
Set the NameID of the SubjectConfirmation objectvoid
setSubjectName(String subjectName)
Method setSubjectName sets the subjectName of this SubjectBean object.void
setSubjectNameIDFormat(String subjectNameIDFormat)
Method setSubjectNameIDFormat sets the subjectNameIDFormat of this SubjectBean object.void
setSubjectNameQualifier(String subjectNameQualifier)
Method setSubjectNameQualifier sets the subjectNameQualifier of this SubjectBean object.void
setSubjectNameSPNameQualifier(String subjectNameSPNameQualifier)
void
setSubjectNameSPProvidedID(String subjectNameSPProvidedID)
-
-
-
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 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 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 ...
-
-