Package org.springframework.security.ldap.userdetails

Examples of org.springframework.security.ldap.userdetails.InetOrgPersonContextMapper


        p.setSn("Smeth");
        p.setUid("don");
        p.setAuthorities(TEST_AUTHORITIES);

        mgr.createUser(p.createUserDetails());
        mgr.setUserDetailsMapper(new InetOrgPersonContextMapper());

        InetOrgPerson don = (InetOrgPerson) mgr.loadUserByUsername("don");

        assertEquals(2, don.getAuthorities().size());
View Full Code Here

TOP

Related Classes of org.springframework.security.ldap.userdetails.InetOrgPersonContextMapper

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.