public class SAMLSSOResponseValidator extends Object
Constructor and Description |
---|
SAMLSSOResponseValidator() |
Modifier and Type | Method and Description |
---|---|
String |
getAssertionConsumerURL() |
String |
getClientAddress() |
String |
getIssuerIDP() |
String |
getRequestId() |
String |
getSpIdentifier() |
boolean |
isEnforceResponseSigned() |
void |
setAssertionConsumerURL(String assertionConsumerURL) |
void |
setClientAddress(String clientAddress) |
void |
setEnforceAssertionsSigned(boolean enforceAssertionsSigned)
Enforce that Assertions contained in the Response must be signed (if the Response itself is not
signed).
|
void |
setEnforceKnownIssuer(boolean enforceKnownIssuer)
Enforce that the Issuer of the received Response/Assertion is known.
|
void |
setEnforceResponseSigned(boolean enforceResponseSigned)
Enforce whether a SAML Response must be signed.
|
void |
setIssuerIDP(String issuerIDP) |
void |
setReplayCache(TokenReplayCache<String> replayCache) |
void |
setRequestId(String requestId) |
void |
setSpIdentifier(String spIdentifier) |
SSOValidatorResponse |
validateSamlResponse(org.opensaml.saml.saml2.core.Response samlResponse,
boolean postBinding)
Validate a SAML 2 Protocol Response
|
public void setEnforceAssertionsSigned(boolean enforceAssertionsSigned)
public void setEnforceKnownIssuer(boolean enforceKnownIssuer)
public SSOValidatorResponse validateSamlResponse(org.opensaml.saml.saml2.core.Response samlResponse, boolean postBinding) throws org.apache.wss4j.common.ext.WSSecurityException
samlResponse
- postBinding
- org.apache.wss4j.common.ext.WSSecurityException
public String getIssuerIDP()
public void setIssuerIDP(String issuerIDP)
public String getAssertionConsumerURL()
public void setAssertionConsumerURL(String assertionConsumerURL)
public String getClientAddress()
public void setClientAddress(String clientAddress)
public String getRequestId()
public void setRequestId(String requestId)
public String getSpIdentifier()
public void setSpIdentifier(String spIdentifier)
public void setReplayCache(TokenReplayCache<String> replayCache)
public boolean isEnforceResponseSigned()
public void setEnforceResponseSigned(boolean enforceResponseSigned)
Apache CXF