a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * The contents of this file are subject to the terms
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * of the Common Development and Distribution License
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * (the License). You may not use this file except in
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * compliance with the License.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * You can obtain a copy of the License at
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * https://opensso.dev.java.net/public/CDDLv1.0.html or
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * See the License for the specific language governing
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * permission and limitations under the License.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * When distributing Covered Code, include this CDDL
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * Header Notice in each file and include the License file
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * If applicable, add the following below the CDDL Header,
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * with the fields enclosed by brackets [] replaced by
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * your own identifying information:
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * "Portions Copyrighted [year] [name of copyright owner]"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * $Id: AuthorizationDecisionQuery.java,v 1.2 2008/06/25 05:47:36 qcheng Exp $
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterimport com.sun.identity.saml.assertion.Evidence;
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterimport com.sun.identity.saml.common.SAMLConstants;
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterimport com.sun.identity.saml.common.SAMLException;
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterimport com.sun.identity.saml.common.SAMLRequesterException;
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * This concrete class extends from the abstract base class
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * <code>SubjectQuery</code>.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * It represents the query for an authorization decision assertion. It
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * corresponds to the <code><samlp:AuthorizationDecisionQueryType></code>
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * in the SAML protocol schema.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * @supported.all.api
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Fosterpublic class AuthorizationDecisionQuery extends SubjectQuery {
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster protected List actions = Collections.EMPTY_LIST;
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * Default Constructor
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * This constructor is used to build an Authorization Decision Query from
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * a DOM tree that was built from the XML string.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * @param element the DOM tree element which contains an Authorization
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * Decision Query.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster * @exception SAMLException when an error occurs.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster public AuthorizationDecisionQuery(Element element)
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster // make sure the input is not null
throw new SAMLRequesterException(
if (!valid) {
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throws SAMLException {
throw new SAMLRequesterException(
int length;
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throw new SAMLRequesterException(
throws SAMLException
throws SAMLException {
return actions;
return evidence;
return resource;
return this.toString(true, false);
if (includeNS) {
if (declareNS) {