Package org.apache.wss4j.dom.validate

Examples of org.apache.wss4j.dom.validate.SamlAssertionValidator


        assertTrue(outputString.indexOf("counter_port_type") > 0 ? true : false);
        return results;
    }

    private List<WSSecurityEngineResult> verifyWithoutProfile(Document doc) throws Exception {
        SamlAssertionValidator validator = new SamlAssertionValidator();
        validator.setValidateSignatureAgainstProfile(false);
       
        WSSecurityEngine secEngine = new WSSecurityEngine();
        WSSConfig config = secEngine.getWssConfig();
        config.setValidator(WSSecurityEngine.SAML_TOKEN, validator);
        config.setValidator(WSSecurityEngine.SAML2_TOKEN, validator);
View Full Code Here

TOP

Related Classes of org.apache.wss4j.dom.validate.SamlAssertionValidator

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.