public class SAMLProtocolResponseValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SAML1_STATUSCODE_SUCCESS |
static String |
SAML2_STATUSCODE_SUCCESS |
| Constructor and Description |
|---|
SAMLProtocolResponseValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wss4j.common.saml.SAMLKeyInfo |
createKeyInfoFromDefaultAlias(org.apache.wss4j.common.crypto.Crypto sigCrypto) |
int |
getFutureTTL() |
void |
setFutureTTL(int futureTTL) |
void |
setKeyInfoMustBeAvailable(boolean keyInfoMustBeAvailable) |
void |
validateSamlResponse(org.opensaml.saml.saml2.core.Response samlResponse,
org.apache.wss4j.common.crypto.Crypto sigCrypto,
CallbackHandler callbackHandler)
Validate a SAML 2 Protocol Response
|
void |
validateSamlResponse(org.opensaml.saml.saml1.core.Response samlResponse,
org.apache.wss4j.common.crypto.Crypto sigCrypto,
CallbackHandler callbackHandler)
Validate a SAML 1.1 Protocol Response
|
public static final String SAML2_STATUSCODE_SUCCESS
public static final String SAML1_STATUSCODE_SUCCESS
public void validateSamlResponse(org.opensaml.saml.saml2.core.Response samlResponse,
org.apache.wss4j.common.crypto.Crypto sigCrypto,
CallbackHandler callbackHandler)
throws org.apache.wss4j.common.ext.WSSecurityException
samlResponse - sigCrypto - callbackHandler - org.apache.wss4j.common.ext.WSSecurityExceptionpublic void validateSamlResponse(org.opensaml.saml.saml1.core.Response samlResponse,
org.apache.wss4j.common.crypto.Crypto sigCrypto,
CallbackHandler callbackHandler)
throws org.apache.wss4j.common.ext.WSSecurityException
samlResponse - sigCrypto - callbackHandler - org.apache.wss4j.common.ext.WSSecurityExceptionprotected org.apache.wss4j.common.saml.SAMLKeyInfo createKeyInfoFromDefaultAlias(org.apache.wss4j.common.crypto.Crypto sigCrypto)
throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityExceptionpublic void setKeyInfoMustBeAvailable(boolean keyInfoMustBeAvailable)
public int getFutureTTL()
public void setFutureTTL(int futureTTL)
Apache CXF