public abstract class AbstractServiceProviderFilter extends AbstractSSOSpHandler implements RequestHandler
| Modifier and Type | Field and Description |
|---|---|
protected static ResourceBundle |
BUNDLE |
protected static Logger |
LOG |
| Constructor and Description |
|---|
AbstractServiceProviderFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkSecurityContext(Message m) |
void |
close() |
protected SamlRequestInfo |
createSamlRequestInfo(Message m) |
protected abstract String |
encodeAuthnRequest(Element authnRequest) |
String |
getIdpServiceAddress() |
String |
getSignatureUsername()
Get the username/alias to use to sign any request
|
protected ResponseState |
getValidResponseState(javax.ws.rs.core.Cookie securityContextCookie,
Message m) |
String |
getWebAppDomain() |
boolean |
isSignRequest() |
protected void |
reportError(String code) |
protected void |
reportTrace(String code) |
void |
setAddEndpointAddressToContext(boolean add) |
void |
setAddWebAppContext(boolean addWebAppContext) |
void |
setAssertionConsumerServiceAddress(String assertionConsumerServiceAddress) |
void |
setAuthnRequestBuilder(AuthnRequestBuilder authnRequestBuilder) |
void |
setIdpServiceAddress(String idpServiceAddress) |
void |
setIssuerId(String issuerId) |
protected void |
setSecurityContext(Message m,
org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper) |
void |
setSignatureUsername(String signatureUsername)
Set the username/alias to use to sign any request
|
void |
setSignRequest(boolean signRequest) |
void |
setWebAppDomain(String webAppDomain) |
protected abstract void |
signAuthnRequest(org.opensaml.saml2.core.AuthnRequest authnRequest) |
createCookie, getCallbackHandler, getProps, getSignatureCrypto, getStateProvider, getStateTimeToLive, isStateExpired, setCallbackHandler, setCallbackHandlerClass, setSignatureCrypto, setSignaturePropertiesFile, setStateProvider, setStateTimeToLiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleRequestprotected static final Logger LOG
protected static final ResourceBundle BUNDLE
public void setAddEndpointAddressToContext(boolean add)
public void setSignRequest(boolean signRequest)
public boolean isSignRequest()
public void setAuthnRequestBuilder(AuthnRequestBuilder authnRequestBuilder)
public void setAssertionConsumerServiceAddress(String assertionConsumerServiceAddress)
public void setIssuerId(String issuerId)
public void setIdpServiceAddress(String idpServiceAddress)
public String getIdpServiceAddress()
public void setSignatureUsername(String signatureUsername)
signatureUsername - the username/alias to use to sign any requestpublic String getSignatureUsername()
@PreDestroy public void close()
close in class AbstractSSOSpHandlerprotected boolean checkSecurityContext(Message m)
protected void setSecurityContext(Message m, org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper)
protected ResponseState getValidResponseState(javax.ws.rs.core.Cookie securityContextCookie, Message m)
protected SamlRequestInfo createSamlRequestInfo(Message m) throws Exception
Exceptionprotected abstract String encodeAuthnRequest(Element authnRequest) throws IOException
IOExceptionprotected abstract void signAuthnRequest(org.opensaml.saml2.core.AuthnRequest authnRequest)
throws Exception
Exceptionprotected void reportError(String code)
protected void reportTrace(String code)
public String getWebAppDomain()
public void setWebAppDomain(String webAppDomain)
public void setAddWebAppContext(boolean addWebAppContext)
Apache CXF