-
public interface SubjectTheSubjectelement 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 aSubjectelement 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 aNameIdentifierand aSubjectConfirmationelement are present, the issuer is asserting that the statement is true of both subjects being identified. Aelement SHOULD NOT identify more than one principal. 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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NameIDgetNameId()NameIdentifiergetNameIdentifier()SubjectConfirmationgetSubjectConfirmation()
-
-
-
Method Detail
-
getSubjectConfirmation
SubjectConfirmation getSubjectConfirmation()
-
getNameIdentifier
NameIdentifier getNameIdentifier()
-
getNameId
NameID getNameId()
-
-