Package org.apache.cxf.sts.operation

Examples of org.apache.cxf.sts.operation.CustomIdentityMapper


    @org.junit.Test
    public void testFilteredRealmAIdentityMapping() throws Exception {
       
        ClaimsManager claimsManager = new ClaimsManager();
       
        claimsManager.setIdentityMapper(new CustomIdentityMapper());
       
        RealmSupportClaimsHandler realmAHandler = new RealmSupportClaimsHandler();
        realmAHandler.setRealm("A");
        realmAHandler.setSupportedClaimTypes(Collections.singletonList(URI.create("Claim-A")));
       
View Full Code Here


    @org.junit.Test
    public void testFilteredRealmBIdentityMapping() throws Exception {
       
        ClaimsManager claimsManager = new ClaimsManager();
       
        claimsManager.setIdentityMapper(new CustomIdentityMapper());
       
        RealmSupportClaimsHandler realmAHandler = new RealmSupportClaimsHandler();
        realmAHandler.setRealm("A");
        realmAHandler.setSupportedClaimTypes(Collections.singletonList(URI.create("Claim-A")));
       
View Full Code Here

TOP

Related Classes of org.apache.cxf.sts.operation.CustomIdentityMapper

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.