Package org.springframework.security.authentication.encoding

Examples of org.springframework.security.authentication.encoding.LdapShaPasswordEncoder


    //~ Methods ========================================================================================================

    @Before
    public void setUp() throws Exception {
        sha = new LdapShaPasswordEncoder();
    }
View Full Code Here


    @Test
    public void testLdapCompareSucceedsWithShaEncodedPassword() {
        // Don't retrieve the password
        authenticator.setUserAttributes(new String[] {"uid"});
        authenticator.setPasswordEncoder(new LdapShaPasswordEncoder());
        authenticator.authenticate(ben);
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.authentication.encoding.LdapShaPasswordEncoder

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.