package eu.dnetlib.enabling.aas;

import eu.dnetlib.enabling.aas.xacml.profile.saml.XACMLAuthzDecisionQueryType;


/**
 * DNet authorization request object.
 * @author mhorst
 *
 */
public class DNetAuthorizeRequest {

	/**
	 * XACML authorization query.
	 */
	private XACMLAuthzDecisionQueryType authzQuery = null;
	
	/**
	 * Default constructor.
	 */
	public DNetAuthorizeRequest() {
	}

	/**
	 * Derrived constructor.
	 * @param authnQuery
	 */
	public DNetAuthorizeRequest(XACMLAuthzDecisionQueryType authzQuery) {
		this.authzQuery = authzQuery;
	}
	
	/**
	 * Returns XACML authorization query.
	 * @return XACML authorization query
	 */
	public XACMLAuthzDecisionQueryType getAuthzQuery() {
		return authzQuery;
	}

	/**
	 * Sets XACML authorization query.
	 * @param authnQuery
	 */
	public void setAuthzQuery(XACMLAuthzDecisionQueryType authzQuery) {
		this.authzQuery = authzQuery;
	}
	
}
