public interface 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 The following schema fragment specifies the expected content contained within SAML Subject element.
<complexType name="SubjectType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<sequence>
<element ref="{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier"/>
<element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation" minOccurs="0"/>
</sequence>
<element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Method and Description |
|---|---|
NameID |
getNameId() |
NameIdentifier |
getNameIdentifier() |
SubjectConfirmation |
getSubjectConfirmation() |
SubjectConfirmation getSubjectConfirmation()
NameIdentifier getNameIdentifier()
NameID getNameId()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.