@PreMatching @Priority(value=1001) public abstract class AbstractServiceProviderFilter extends AbstractSSOSpHandler implements javax.ws.rs.container.ContainerRequestFilter
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() |
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.wss4j.common.saml.SamlAssertionWrapper assertionWrapper) |
void |
setSignRequest(boolean signRequest) |
void |
setWebAppDomain(String webAppDomain) |
protected abstract void |
signAuthnRequest(org.opensaml.saml.saml2.core.AuthnRequest authnRequest) |
createCookie, getCallbackHandler, getSignatureCrypto, getSignatureUsername, getStateProvider, getStateTimeToLive, isStateExpired, setCallbackHandler, setCallbackHandlerClass, setSignatureCrypto, setSignaturePropertiesFile, setSignatureUsername, setStateProvider, setStateTimeToLive
protected 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()
@PreDestroy public void close()
close
in class AbstractSSOSpHandler
protected boolean checkSecurityContext(Message m)
protected void setSecurityContext(Message m, org.apache.wss4j.common.saml.SamlAssertionWrapper assertionWrapper)
protected ResponseState getValidResponseState(javax.ws.rs.core.Cookie securityContextCookie, Message m)
protected SamlRequestInfo createSamlRequestInfo(Message m) throws Exception
Exception
protected abstract String encodeAuthnRequest(Element authnRequest) throws IOException
IOException
protected abstract void signAuthnRequest(org.opensaml.saml.saml2.core.AuthnRequest authnRequest) throws Exception
Exception
protected void reportError(String code)
protected void reportTrace(String code)
public String getWebAppDomain()
public void setWebAppDomain(String webAppDomain)
public void setAddWebAppContext(boolean addWebAppContext)
Apache CXF