com.sun.xml.wss.saml.AuthorizationDecisionStatement Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2022 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
*/
/*
* AuthorizationDecisionStatement.java
*
* Created on August 18, 2005, 12:31 PM
*
*/
package com.sun.xml.wss.saml;
import java.util.List;
/**
* The AuthorizationDecisionStatement
element supplies a statement
* by the issuer that the request for access by the specified subject to the
* specified resource has resulted in the specified decision on the basis of
* some optionally specified evidence.
*
* The following schema fragment specifies the expected content contained within
* SAML AuthorizationDecisionStatement element.
*
* <complexType name="AuthorizationDecisionStatementType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType">
* <sequence>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Action" maxOccurs="unbounded"/>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Evidence" minOccurs="0"/>
* </sequence>
* <attribute name="Decision" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}DecisionType" />
* <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
public interface AuthorizationDecisionStatement {
/**
* Gets the value of the action property.
*
* @return Objects of the following type(s) are in the list {@link Action }
*
*
*/
List getActionList();
/**
* Gets the value of the evidence property.
*
* @return object is {@link Evidence }
*
*/
Evidence getEvidence();
/**
* Gets the value of the decision property.
*
* @return object is {@link java.lang.String }
*
*/
String getDecisionValue();
/**
* Gets the value of the resource property.
*
* @return object is {@link java.lang.String }
*
*/
String getResource();
/**
* Gets the value of the subject property.
*
* @return object is {@link Subject }
*
*/
Subject getSubject();
}