package eu.dnetlib.enabling.aas;

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


/**
 * DNet authentication request object.
 * @author mhorst
 *
 */
public class DNetAuthenticateRequest {

	
	/**
	 * XACML authentication query.
	 */
	private XACMLAuthzDecisionQueryType authnQuery = null;
	
	/**
	 * Default constructor.
	 */
	public DNetAuthenticateRequest() {
	}

	/**
	 * Derrived constructor.
	 * @param authnQuery
	 */
	public DNetAuthenticateRequest(XACMLAuthzDecisionQueryType authnQuery) {
		this.authnQuery = authnQuery;
	}
	
	/**
	 * Returns XACML authentication query.
	 * @return XACML authentication query
	 */
	public XACMLAuthzDecisionQueryType getAuthnQuery() {
		return authnQuery;
	}

	/**
	 * Sets XACML authentication query.
	 * @param authnQuery
	 */
	public void setAuthnQuery(XACMLAuthzDecisionQueryType authnQuery) {
		this.authnQuery = authnQuery;
	}
	
}
