public abstract class AbstractBindingPolicyValidator extends Object implements SecurityPolicyValidator
Constructor and Description |
---|
AbstractBindingPolicyValidator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkDerivedKeys(AbstractTokenWrapper tokenWrapper,
boolean hasDerivedKeys,
List<WSSecurityEngineResult> signedResults,
List<WSSecurityEngineResult> encryptedResults)
Check the derived key requirement.
|
protected boolean |
checkProperties(AbstractSymmetricAsymmetricBinding binding,
org.apache.cxf.ws.policy.AssertionInfo ai,
org.apache.cxf.ws.policy.AssertionInfoMap aim,
WSHandlerResult results,
List<WSSecurityEngineResult> signedResults,
Message message)
Check various properties set in the policy of the binding
|
protected boolean |
checkProtectionOrder(AbstractSymmetricAsymmetricBinding binding,
org.apache.cxf.ws.policy.AssertionInfoMap aim,
org.apache.cxf.ws.policy.AssertionInfo ai,
List<WSSecurityEngineResult> results)
Check the Protection Order of the binding
|
protected boolean |
isSignatureEncrypted(List<WSSecurityEngineResult> results)
Check whether the primary Signature (and all SignatureConfirmation) elements were encrypted
|
protected boolean |
isTokenProtected(List<WSSecurityEngineResult> results,
List<WSSecurityEngineResult> signedResults)
Check whether the token protection policy is followed.
|
protected boolean |
validateEntireHeaderAndBodySignatures(List<WSSecurityEngineResult> signedResults)
Validate the entire header and body signature property.
|
protected boolean |
validateTimestamp(boolean includeTimestamp,
boolean transportBinding,
WSHandlerResult results,
List<WSSecurityEngineResult> signedResults,
Message message)
Validate a Timestamp
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canValidatePolicy, validatePolicies
protected boolean validateTimestamp(boolean includeTimestamp, boolean transportBinding, WSHandlerResult results, List<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 objectprotected boolean validateEntireHeaderAndBodySignatures(List<WSSecurityEngineResult> signedResults)
protected boolean checkProperties(AbstractSymmetricAsymmetricBinding binding, org.apache.cxf.ws.policy.AssertionInfo ai, org.apache.cxf.ws.policy.AssertionInfoMap aim, WSHandlerResult results, List<WSSecurityEngineResult> signedResults, Message message)
protected boolean checkProtectionOrder(AbstractSymmetricAsymmetricBinding binding, org.apache.cxf.ws.policy.AssertionInfoMap aim, org.apache.cxf.ws.policy.AssertionInfo ai, List<WSSecurityEngineResult> results)
protected boolean checkDerivedKeys(AbstractTokenWrapper tokenWrapper, boolean hasDerivedKeys, List<WSSecurityEngineResult> signedResults, List<WSSecurityEngineResult> encryptedResults)
protected boolean isTokenProtected(List<WSSecurityEngineResult> results, List<WSSecurityEngineResult> signedResults)
protected boolean isSignatureEncrypted(List<WSSecurityEngineResult> results)
Copyright © 2017 JBoss by Red Hat. All rights reserved.