org.apache.ws.security.saml.ext.bean
Class SubjectBean

java.lang.Object
  extended by org.apache.ws.security.saml.ext.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) Created on May 20, 2009


Constructor Summary
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.
 
Method Summary
 boolean equals(Object o)
          Method equals ...
 KeyInfoBean getKeyInfo()
          Method getKeyInfo returns the keyInfo of this SubjectBean object.
 String getSubjectConfirmationMethod()
          Method getSubjectConfirmationMethod returns the subjectConfirmationMethod of this SubjectBean object.
 String 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.
 int hashCode()
           
 void setKeyInfo(KeyInfoBean keyInfo)
          Method setKeyInfo sets the keyInfo of this SubjectBean object.
 void setSubjectConfirmationMethod(String subjectConfirmationMethod)
          Method setSubjectConfirmationMethod sets the subjectConfirmationMethod of this SubjectBean object.
 void 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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

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.

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


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.