Package org.apache.cxf.ws.security.wss4j.policyvalidators

Examples of org.apache.cxf.ws.security.wss4j.policyvalidators.X509TokenPolicyValidator


        Element soapBody,
        List<WSSecurityEngineResult> results,
        List<WSSecurityEngineResult> signedResults
    ) {
        boolean check = true;
        TokenPolicyValidator x509Validator = new X509TokenPolicyValidator();
        check &= x509Validator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator utValidator = new UsernameTokenPolicyValidator();
        check &= utValidator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator samlValidator = new SamlTokenPolicyValidator();
View Full Code Here


       
        assertAsymetricBinding(aim, msg, prots, results, hasDerivedKeys);
        assertSymmetricBinding(aim, msg, prots, results, hasDerivedKeys);
        assertTransportBinding(aim, results);
       
        X509TokenPolicyValidator x509Validator = new X509TokenPolicyValidator(msg, results);
        x509Validator.validatePolicy(aim);
       
        SecurityContextTokenPolicyValidator sctValidator =
            new SecurityContextTokenPolicyValidator(msg, results);
        sctValidator.validatePolicy(aim);
       
View Full Code Here

        Element soapBody,
        List<WSSecurityEngineResult> results,
        List<WSSecurityEngineResult> signedResults
    ) {
        boolean check = true;
        TokenPolicyValidator x509Validator = new X509TokenPolicyValidator();
        check &= x509Validator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator utValidator = new UsernameTokenPolicyValidator();
        check &= utValidator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator samlValidator = new SamlTokenPolicyValidator();
View Full Code Here

        List<WSSecurityEngineResult> results,
        List<WSSecurityEngineResult> signedResults,
        boolean utWithCallbacks
    ) {
        boolean check = true;
        TokenPolicyValidator x509Validator = new X509TokenPolicyValidator();
        check &= x509Validator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator utValidator = new UsernameTokenPolicyValidator(utWithCallbacks);
        check &= utValidator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator samlValidator = new SamlTokenPolicyValidator();
View Full Code Here

        Element soapBody,
        List<WSSecurityEngineResult> results,
        List<WSSecurityEngineResult> signedResults
    ) {
        boolean check = true;
        TokenPolicyValidator x509Validator = new X509TokenPolicyValidator();
        check &= x509Validator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator utValidator = new UsernameTokenPolicyValidator();
        check &= utValidator.validatePolicy(aim, msg, soapBody, results, signedResults);
       
        TokenPolicyValidator samlValidator = new SamlTokenPolicyValidator();
View Full Code Here

       
        assertAsymetricBinding(aim, msg, prots, hasDerivedKeys);
        assertSymetricBinding(aim, msg, prots, hasDerivedKeys);
        assertTransportBinding(aim);
       
        X509TokenPolicyValidator x509Validator = new X509TokenPolicyValidator(msg, results);
        x509Validator.validatePolicy(aim);
       
        //REVISIT - probably can verify some of these like if UT is encrypted and/or signed, etc...
        assertPolicy(aim, SP12Constants.SIGNED_SUPPORTING_TOKENS);
        assertPolicy(aim, SP12Constants.SIGNED_ENCRYPTED_SUPPORTING_TOKENS);
        assertPolicy(aim, SP12Constants.SUPPORTING_TOKENS);
View Full Code Here

TOP

Related Classes of org.apache.cxf.ws.security.wss4j.policyvalidators.X509TokenPolicyValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.