|
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.AbstractBindingPolicyValidator
public abstract class AbstractBindingPolicyValidator
Some abstract functionality for validating a security binding.
Constructor Summary | |
---|---|
AbstractBindingPolicyValidator()
|
Method Summary | |
---|---|
protected void |
assertPolicy(AssertionInfoMap aim,
org.apache.neethi.Assertion token)
|
protected boolean |
assertPolicy(AssertionInfoMap aim,
QName q)
|
protected boolean |
assertPolicy(AssertionInfoMap aim,
String localname)
|
protected boolean |
checkDerivedKeys(org.apache.wss4j.policy.model.AbstractTokenWrapper tokenWrapper,
boolean hasDerivedKeys,
List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults,
List<org.apache.wss4j.dom.WSSecurityEngineResult> encryptedResults)
Check the derived key requirement. |
protected boolean |
checkProperties(org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding binding,
AssertionInfo ai,
AssertionInfoMap aim,
List<org.apache.wss4j.dom.WSSecurityEngineResult> results,
List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults,
Message message)
Check various properties set in the policy of the binding |
protected boolean |
checkProtectionOrder(org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding binding,
AssertionInfoMap aim,
AssertionInfo ai,
List<org.apache.wss4j.dom.WSSecurityEngineResult> results)
Check the Protection Order of the binding |
protected Collection<AssertionInfo> |
getAllAssertionsByLocalname(AssertionInfoMap aim,
String localname)
|
protected boolean |
isSignatureEncrypted(List<org.apache.wss4j.dom.WSSecurityEngineResult> results)
Check whether the primary Signature (and all SignatureConfirmation) elements were encrypted |
protected boolean |
isTokenProtected(List<org.apache.wss4j.dom.WSSecurityEngineResult> results,
List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults)
Check whether the token protection policy is followed. |
protected void |
notAssertPolicy(AssertionInfoMap aim,
org.apache.neethi.Assertion token,
String msg)
|
protected void |
notAssertPolicy(AssertionInfoMap aim,
QName q,
String msg)
|
protected boolean |
validateEntireHeaderAndBodySignatures(List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults)
Validate the entire header and body signature property. |
protected boolean |
validateTimestamp(boolean includeTimestamp,
boolean transportBinding,
List<org.apache.wss4j.dom.WSSecurityEngineResult> results,
List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults,
Message message)
Validate a Timestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cxf.ws.security.wss4j.policyvalidators.BindingPolicyValidator |
---|
validatePolicy |
Constructor Detail |
---|
public AbstractBindingPolicyValidator()
Method Detail |
---|
protected boolean validateTimestamp(boolean includeTimestamp, boolean transportBinding, List<org.apache.wss4j.dom.WSSecurityEngineResult> results, List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults, Message message)
includeTimestamp
- whether a Timestamp must be included or nottransportBinding
- whether the Transport binding is in use or notsignedResults
- the signed results listmessage
- the Message object
protected boolean validateEntireHeaderAndBodySignatures(List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults)
protected boolean checkProperties(org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding binding, AssertionInfo ai, AssertionInfoMap aim, List<org.apache.wss4j.dom.WSSecurityEngineResult> results, List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults, Message message)
protected boolean checkProtectionOrder(org.apache.wss4j.policy.model.AbstractSymmetricAsymmetricBinding binding, AssertionInfoMap aim, AssertionInfo ai, List<org.apache.wss4j.dom.WSSecurityEngineResult> results)
protected boolean checkDerivedKeys(org.apache.wss4j.policy.model.AbstractTokenWrapper tokenWrapper, boolean hasDerivedKeys, List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults, List<org.apache.wss4j.dom.WSSecurityEngineResult> encryptedResults)
protected boolean isTokenProtected(List<org.apache.wss4j.dom.WSSecurityEngineResult> results, List<org.apache.wss4j.dom.WSSecurityEngineResult> signedResults)
protected boolean isSignatureEncrypted(List<org.apache.wss4j.dom.WSSecurityEngineResult> results)
protected void assertPolicy(AssertionInfoMap aim, org.apache.neethi.Assertion token)
protected void notAssertPolicy(AssertionInfoMap aim, org.apache.neethi.Assertion token, String msg)
protected boolean assertPolicy(AssertionInfoMap aim, String localname)
protected boolean assertPolicy(AssertionInfoMap aim, QName q)
protected void notAssertPolicy(AssertionInfoMap aim, QName q, String msg)
protected Collection<AssertionInfo> getAllAssertionsByLocalname(AssertionInfoMap aim, String localname)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |