pl.edu.icm.unity.saml.idp.ctx.SAMLContext Maven / Gradle / Ivy
/*
* Copyright (c) 2007, 2008 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE file for licencing information.
*
* Created on Aug 21, 2007
* Author: K. Benedyczak
*/
package pl.edu.icm.unity.saml.idp.ctx;
import org.apache.xmlbeans.XmlObject;
import pl.edu.icm.unity.saml.idp.SAMLIdPConfiguration;
import xmlbeans.org.oasis.saml2.protocol.RequestAbstractType;
/**
* SAML Context is responsible for storing of request data and accompanying information
* which is required to create response.
*
* This class is extended by more concrete contexts.
*
* @author K. Benedyczak
*/
public class SAMLContext
{
protected SAMLIdPConfiguration samlConfiguration;
protected C request;
protected T requestDoc;
public SAMLContext(T reqDoc, C req, SAMLIdPConfiguration samlConfiguration)
{
this.samlConfiguration = samlConfiguration;
request = req;
requestDoc = reqDoc;
}
public SAMLIdPConfiguration getSamlConfiguration()
{
return samlConfiguration;
}
public T getRequestDocument()
{
return requestDoc;
}
public C getRequest()
{
return request;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy