|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.Subject com.sun.identity.liberty.ws.security.ProxySubject
public class ProxySubject
The ProxySubject
class represents the identity of a proxy,
the confirmation key and confirmation obligation the proxy must posess and
demonstrate for authentication purpose.
Field Summary |
---|
Fields inherited from class com.sun.identity.saml.assertion.Subject |
---|
_nameIdentifier, _subjectConfirmation |
Constructor Summary | |
---|---|
ProxySubject(Element subjectElement)
Constructs a ProxySubject object from a DOM Element. |
|
ProxySubject(NameIdentifier nameIdentifier)
Constructs a ProxySubject object from a
NameIdentifier object. |
|
ProxySubject(NameIdentifier nameIdentifier,
SubjectConfirmation subjectConfirmation)
Constructs a ProxySubject object from a
NameIdentifier object and a
SubjectConfirmation object. |
|
ProxySubject(SubjectConfirmation subjectConfirmation)
Constructs a ProxySubject object from a
SubjectConfirmation object. |
Method Summary | |
---|---|
boolean |
equals(ProxySubject subject)
Checks for equality between this object and the ProxySubject
passed down as parameter. |
String |
toString()
Creates a String representation of the element. |
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the <Subject>
element. |
Methods inherited from class com.sun.identity.saml.assertion.Subject |
---|
createNameIdentifier, createSubjectConfirmation, equals, getNameIdentifier, getSubjectConfirmation, removeNameIdentifier, removeSubjectConfirmation, setNameIdentifier, setSubjectConfirmation |
Constructor Detail |
---|
public ProxySubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation) throws SAMLException
ProxySubject
object from a
NameIdentifier
object and a
SubjectConfirmation
object.
nameIdentifier
- NameIdentifier
object.subjectConfirmation
- SubjectConfirmation
object.
SAMLException
- if nameIdentifier
and
SubjectConfirmation
are null;public ProxySubject(NameIdentifier nameIdentifier) throws SAMLException
ProxySubject
object from a
NameIdentifier
object.
nameIdentifier
- NameIdentifier
object.
SAMLException
- if nameIdentifier
is null.public ProxySubject(Element subjectElement) throws SAMLException
ProxySubject
object from a DOM Element.
which has already been built into a DOM.
subjectElement
- An Element representing DOM tree for
ProxySubject
object.
SAMLException
- if it could not process the
Element properly, implying that there is an error in the
sender or in the element definition.public ProxySubject(SubjectConfirmation subjectConfirmation) throws SAMLException
ProxySubject
object from a
SubjectConfirmation
object.
subjectConfirmation
- SubjectConfirmation
object to be
added to the object.
SAMLException
- if subjectConfirmation
is null.Method Detail |
---|
public boolean equals(ProxySubject subject)
ProxySubject
passed down as parameter.
subject
- ProxySubject
to be checked
public String toString()
toString
in class Subject
<saml:Subject>
public String toString(boolean includeNS, boolean declareNS)
<Subject>
element.
toString
in class Subject
includeNS
- if true prepends all elements by their Namespace
name example <saml:Subject>
.declareNS
- if true includes the namespace within the
generated XML.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |