public class Subject extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl implements Subject
Subject element specifies one or more subjects. It contains either or
both of the following elements:NameIdentifier;
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
NameIdentifier and a SubjectConfirmation element are
present, the issuer is asserting that the statement is true of both subjects
being identified. A com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl.Unmarshaller| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
version_NameIdentifier, _SubjectConfirmation| Constructor and Description |
|---|
Subject(NameIdentifier nameIdentifier,
SubjectConfirmation subjectConfirmation)
Constructs a Subject object from a
NameIdentifier
object and a SubjectConfirmation object. |
Subject(com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectType subjectType) |
| Modifier and Type | Method and Description |
|---|---|
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl |
fromElement(Element element)
This constructor builds a subject element from an existing XML block
which has already been built into a DOM.
|
NameID |
getNameId() |
NameIdentifier |
getNameIdentifier() |
SubjectConfirmation |
getSubjectConfirmation() |
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIssetNameIdentifier, setSubjectConfirmationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNameIdentifier, setSubjectConfirmationprotected static final Logger log
public Subject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation)
NameIdentifier
object and a SubjectConfirmation object.nameIdentifier - NameIdentifier object.subjectConfirmation - SubjectConfirmation 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 Subject(com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectType subjectType)
public NameIdentifier getNameIdentifier()
getNameIdentifier in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectTypegetNameIdentifier in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImplpublic NameID getNameId()
public SubjectConfirmation getSubjectConfirmation()
getSubjectConfirmation in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectTypegetSubjectConfirmation in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImplpublic static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl fromElement(Element element) throws SAMLException
element - An Element representing DOM tree for Subject objectSAMLException - if it could not process the Element properly,
implying that there is an error in the sender or in the
element definition.Copyright © 2005–2017 Oracle Corporation. All rights reserved.