01: /*
02: * Subject.java
03: *
04: * Created on August 18, 2005, 12:33 PM
05: *
06: */
07:
08: /*
09: * The contents of this file are subject to the terms
10: * of the Common Development and Distribution License
11: * (the License). You may not use this file except in
12: * compliance with the License.
13: *
14: * You can obtain a copy of the license at
15: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
16: * See the License for the specific language governing
17: * permissions and limitations under the License.
18: *
19: * When distributing Covered Code, include this CDDL
20: * Header Notice in each file and include the License file
21: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
22: * If applicable, add the following below the CDDL Header,
23: * with the fields enclosed by brackets [] replaced by
24: * you own identifying information:
25: * "Portions Copyrighted [year] [name of copyright owner]"
26: *
27: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
28: */
29:
30: package com.sun.xml.wss.saml;
31:
32: /**
33: *
34: * @author abhijit.das@Sun.COM
35: */
36:
37: /**
38: * The <code>Subject</code> element specifies one or more subjects. It contains either or
39: both of the following elements:<code>NameIdentifier</code>;
40: An identification of a subject by its name and security domain.
41: <code>SubjectConfirmation</code>;
42: Information that allows the subject to be authenticated.
43:
44: If a <code>Subject</code> element contains more than one subject specification,
45: the issuer is asserting that the surrounding statement is true for
46: all of the subjects specified. For example, if both a
47: <code>NameIdentifier</code> and a <code>SubjectConfirmation</code> element are
48: present, the issuer is asserting that the statement is true of both subjects
49: being identified. A <Subject> element SHOULD NOT identify more than one
50: principal.
51: *
52: * <p>The following schema fragment specifies the expected content contained within
53: * SAML Subject element.
54: *
55: * <pre>
56: * <complexType name="SubjectType">
57: * <complexContent>
58: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
59: * <choice>
60: * <sequence>
61: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier"/>
62: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation" minOccurs="0"/>
63: * </sequence>
64: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation"/>
65: * </choice>
66: * </restriction>
67: * </complexContent>
68: * </complexType>
69: * </pre>
70: */
71: public interface Subject {
72:
73: }
|