All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.wss.saml.Subject Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
/*
 * Copyright (c) 2010, 2021 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

/*
 * Subject.java
 *
 * Created on August 18, 2005, 12:33 PM
 *
 */

package com.sun.xml.wss.saml;

/**
 *
 * @author [email protected]
 */

/**
 * The 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 {@code } element SHOULD NOT identify more than one
principal.
 *
 * 

The following schema fragment specifies the expected content contained within * SAML Subject element. * *

{@code
 * 
 *   
 *     
 *       
 *         
 *           
 *           
 *         
 *         
 *       
 *     
 *   
 * 
 * }
*/ public interface Subject { SubjectConfirmation getSubjectConfirmation(); NameIdentifier getNameIdentifier(); NameID getNameId(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy