|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.saml.sso.SAMLSSOResponseValidator
public class SAMLSSOResponseValidator
Validate a SAML 2.0 Protocol Response according to the Web SSO profile. The Response should be validated by the SAMLProtocolResponseValidator first.
Constructor Summary | |
---|---|
SAMLSSOResponseValidator()
|
Method Summary | |
---|---|
String |
getAssertionConsumerURL()
|
String |
getClientAddress()
|
String |
getIssuerIDP()
|
String |
getRequestId()
|
String |
getSpIdentifier()
|
void |
setAssertionConsumerURL(String assertionConsumerURL)
|
void |
setClientAddress(String clientAddress)
|
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. |
void |
setIssuerIDP(String issuerIDP)
|
void |
setReplayCache(TokenReplayCache<String> replayCache)
|
void |
setRequestId(String requestId)
|
void |
setSpIdentifier(String spIdentifier)
|
SSOValidatorResponse |
validateSamlResponse(org.opensaml.saml2.core.Response samlResponse,
boolean postBinding)
Validate a SAML 2 Protocol Response |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMLSSOResponseValidator()
Method Detail |
---|
public void setEnforceAssertionsSigned(boolean enforceAssertionsSigned)
public void setEnforceKnownIssuer(boolean enforceKnownIssuer)
public SSOValidatorResponse validateSamlResponse(org.opensaml.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)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |