|
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.ws.security.wss4j.policyvalidators.AbstractTokenPolicyValidator org.apache.cxf.ws.security.wss4j.policyvalidators.AbstractSamlPolicyValidator
public abstract class AbstractSamlPolicyValidator
Some abstract functionality for validating SAML Assertions
Constructor Summary | |
---|---|
AbstractSamlPolicyValidator()
|
Method Summary | |
---|---|
boolean |
checkHolderOfKey(org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper,
List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
Check the holder-of-key requirements against the received assertion. |
protected boolean |
compareCredentials(org.apache.ws.security.saml.SAMLKeyInfo subjectKeyInfo,
List<org.apache.ws.security.WSSecurityEngineResult> signedResults,
Certificate[] tlsCerts)
Compare the credentials of the assertion to the credentials used in 2-way TLS or those used to verify signatures. |
protected boolean |
isTokenRequired(Token token,
Message message)
Check to see if a token is required or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSamlPolicyValidator()
Method Detail |
---|
protected boolean isTokenRequired(Token token, Message message)
isTokenRequired
in class AbstractTokenPolicyValidator
token
- the tokenmessage
- The message
public boolean checkHolderOfKey(org.apache.ws.security.saml.ext.AssertionWrapper assertionWrapper, List<org.apache.ws.security.WSSecurityEngineResult> signedResults, Certificate[] tlsCerts)
assertionWrapper
- the SAML Assertion wrapper objectsignedResults
- a list of all of the signed resultsprotected boolean compareCredentials(org.apache.ws.security.saml.SAMLKeyInfo subjectKeyInfo, List<org.apache.ws.security.WSSecurityEngineResult> signedResults, Certificate[] tlsCerts)
subjectKeyInfo
- the SAMLKeyInfo objectsignedResults
- a list of all of the signed results
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |