public abstract class AbstractRequestAssertionConsumerHandler extends AbstractSSOSpHandler
Constructor and Description |
---|
AbstractRequestAssertionConsumerHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected String |
createSecurityContext(RequestState requestState,
String encodedSamlResponse,
String relayState,
boolean postBinding) |
protected javax.ws.rs.core.Response |
doProcessSamlResponse(String encodedSamlResponse,
String relayState,
boolean postBinding) |
TokenReplayCache<String> |
getReplayCache() |
boolean |
isSupportBase64Encoding() |
boolean |
isSupportDeflateEncoding() |
protected RequestState |
processRelayState(String relayState) |
protected void |
reportError(String code) |
void |
setEnforceAssertionsSigned(boolean enforceAssertionsSigned)
Enforce that Assertions must be signed if the POST binding was used.
|
void |
setEnforceKnownIssuer(boolean enforceKnownIssuer)
Enforce that the Issuer of the received Response/Assertion is known to this RACS.
|
void |
setKeyInfoMustBeAvailable(boolean keyInfoMustBeAvailable) |
void |
setMessageContext(MessageContext mc) |
void |
setReplayCache(TokenReplayCache<String> replayCache) |
void |
setSupportBase64Encoding(boolean supportBase64Encoding) |
void |
setSupportDeflateEncoding(boolean deflate) |
protected void |
validateSamlResponseProtocol(org.opensaml.saml.saml2.core.Response samlResponse)
Validate the received SAML Response as per the protocol
|
protected SSOValidatorResponse |
validateSamlSSOResponse(boolean postBinding,
org.opensaml.saml.saml2.core.Response samlResponse,
RequestState requestState)
Validate the received SAML Response as per the Web SSO profile
|
createCookie, getCallbackHandler, getSignatureCrypto, getSignatureUsername, getStateProvider, getStateTimeToLive, isStateExpired, setCallbackHandler, setCallbackHandlerClass, setSignatureCrypto, setSignaturePropertiesFile, setSignatureUsername, setStateProvider, setStateTimeToLive
public AbstractRequestAssertionConsumerHandler()
@Context public void setMessageContext(MessageContext mc)
public void setSupportDeflateEncoding(boolean deflate)
public boolean isSupportDeflateEncoding()
public void setReplayCache(TokenReplayCache<String> replayCache)
public TokenReplayCache<String> getReplayCache()
public void setEnforceAssertionsSigned(boolean enforceAssertionsSigned)
public void setEnforceKnownIssuer(boolean enforceKnownIssuer)
public void setSupportBase64Encoding(boolean supportBase64Encoding)
public boolean isSupportBase64Encoding()
@PreDestroy public void close()
close
in class AbstractSSOSpHandler
protected javax.ws.rs.core.Response doProcessSamlResponse(String encodedSamlResponse, String relayState, boolean postBinding)
protected String createSecurityContext(RequestState requestState, String encodedSamlResponse, String relayState, boolean postBinding)
protected RequestState processRelayState(String relayState)
protected void validateSamlResponseProtocol(org.opensaml.saml.saml2.core.Response samlResponse)
protected SSOValidatorResponse validateSamlSSOResponse(boolean postBinding, org.opensaml.saml.saml2.core.Response samlResponse, RequestState requestState)
protected void reportError(String code)
public void setKeyInfoMustBeAvailable(boolean keyInfoMustBeAvailable)
Apache CXF