Package org.picketlink.test.identity.federation.core.wstrust.PicketLinkSTSUnitTestCase

Examples of org.picketlink.test.identity.federation.core.wstrust.PicketLinkSTSUnitTestCase.TestSTS


     * @throws Exception
     */
    @Test
    public void testMaskedPassword() throws Exception {
        PicketLinkSTSUnitTestCase plstsTest = new PicketLinkSTSUnitTestCase();
        TestSTS sts = plstsTest.new TestSTS("sts/picketlink-sts-maskedpasswd.xml");

        STSConfiguration stsConfiguration = sts.getConfiguration();
        Certificate cert = stsConfiguration.getCertificate("service1");
        assertNotNull("cert is not null", cert);

        cert = stsConfiguration.getCertificate("service2");
        assertNotNull("cert is not null", cert);
View Full Code Here


     * @throws Exception
     */
    @Test
    public void testXMLDSigCanonicalization() throws Exception {
        PicketLinkSTSUnitTestCase plstsTest = new PicketLinkSTSUnitTestCase();
        TestSTS sts = plstsTest.new TestSTS("sts/picketlink-sts-xmldsig-Canonicalization.xml");

        STSConfiguration stsConfiguration = sts.getConfiguration();
        assertNotNull("STS Configuration is not null", stsConfiguration);
        assertEquals(CanonicalizationMethod.EXCLUSIVE, stsConfiguration.getXMLDSigCanonicalizationMethod());
    }
View Full Code Here

TOP

Related Classes of org.picketlink.test.identity.federation.core.wstrust.PicketLinkSTSUnitTestCase.TestSTS

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.