| java.lang.Object com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectType com.sun.xml.wss.saml.assertion.saml20.jaxb20.Subject
Subject | public class Subject extends SubjectType implements com.sun.xml.wss.saml.Subject(Code) | | The Subject element specifies one or more subjects. It contains either or
both of the following elements:NameID ;
An identification of a subject by its name and security domain.
SubjectConfirmation ;
Information that allows the subject to be authenticated.
If a Subject element contains more than one subject specification,
the issuer is asserting that the surrounding statement is true for
all of the subjects specified. For example, if both a
NameID and a SubjectConfirmation element are
present, the issuer is asserting that the statement is true of both subjects
being identified. A element SHOULD NOT identify more than one
principal.
|
Field Summary | |
final protected static Logger | log |
Constructor Summary | |
public | Subject(NameID nameId, SubjectConfirmation subjectConfirmation) Constructs a Subject object from a NameID
object and a SubjectConfirmation object. |
Subject | public Subject(NameID nameId, SubjectConfirmation subjectConfirmation)(Code) | | Constructs a Subject object from a NameID
object and a SubjectConfirmation object.
Parameters: NameID - NameID object. Parameters: subjectConfirmation - SubjectConfirmation object. exception: SAMLException - if it could not process theElement properly, implying that there is an error in thesender or in the element definition. |
fromElement | public static SubjectType fromElement(org.w3c.dom.Element element) throws SAMLException(Code) | | This constructor builds a subject element from an existing XML block
which has already been built into a DOM.
Parameters: subjectElement - An Element representing DOM tree for Subject object exception: SAMLException - if it could not process the Element properly,implying that there is an error in the sender or in theelement definition. |
|
|