org.apache.cxf.rs.security.saml.sso.filter
Class AbstractServiceProviderFilter

java.lang.Object
  extended by org.apache.cxf.rs.security.saml.sso.filter.AbstractServiceProviderFilter
All Implemented Interfaces:
org.apache.cxf.jaxrs.ext.RequestHandler
Direct Known Subclasses:
SamlPostBindingFilter, SamlRedirectBindingFilter

public abstract class AbstractServiceProviderFilter
extends Object
implements org.apache.cxf.jaxrs.ext.RequestHandler


Field Summary
protected static String RELAY_STATE
           
protected static String SAML_REQUEST
           
 
Constructor Summary
AbstractServiceProviderFilter()
           
 
Method Summary
protected  boolean checkSecurityContext(org.apache.cxf.message.Message m)
           
protected  org.opensaml.saml2.core.AuthnRequest createAuthnRequest(org.apache.cxf.message.Message m, Document doc)
           
protected  SamlRequestInfo createSamlResponseInfo(org.apache.cxf.message.Message m)
           
protected  String encodeAuthnRequest(Element authnRequestElement)
           
 String getIdpServiceAddress()
           
 void setIdpServiceAddress(String idpServiceAddress)
           
 void setIssuerId(String issuerId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.jaxrs.ext.RequestHandler
handleRequest
 

Field Detail

SAML_REQUEST

protected static final String SAML_REQUEST
See Also:
Constant Field Values

RELAY_STATE

protected static final String RELAY_STATE
See Also:
Constant Field Values
Constructor Detail

AbstractServiceProviderFilter

public AbstractServiceProviderFilter()
Method Detail

checkSecurityContext

protected boolean checkSecurityContext(org.apache.cxf.message.Message m)

setIdpServiceAddress

public void setIdpServiceAddress(String idpServiceAddress)

getIdpServiceAddress

public String getIdpServiceAddress()

createAuthnRequest

protected org.opensaml.saml2.core.AuthnRequest createAuthnRequest(org.apache.cxf.message.Message m,
                                                                  Document doc)
                                                           throws Exception
Throws:
Exception

encodeAuthnRequest

protected String encodeAuthnRequest(Element authnRequestElement)
                             throws org.opensaml.xml.io.MarshallingException,
                                    IOException
Throws:
org.opensaml.xml.io.MarshallingException
IOException

createSamlResponseInfo

protected SamlRequestInfo createSamlResponseInfo(org.apache.cxf.message.Message m)
                                          throws Exception
Throws:
Exception

setIssuerId

public void setIssuerId(String issuerId)


Apache CXF