Package org.springframework.security.config.authentication

Examples of org.springframework.security.config.authentication.PasswordEncoderParser


            if (passwordEncoderElement != null) {
                if (StringUtils.hasText(hash)) {
                    parserContext.getReaderContext().warning("Attribute 'hash' cannot be used with 'password-encoder' and " +
                            "will be ignored.", parserContext.extractSource(elt));
                }
                PasswordEncoderParser pep = new PasswordEncoderParser(passwordEncoderElement, parserContext);
                authenticatorBuilder.addPropertyValue("passwordEncoder", pep.getPasswordEncoder());

                if (pep.getSaltSource() != null) {
                    parserContext.getReaderContext().warning("Salt source information isn't valid when used with LDAP",
                            passwordEncoderElement);
                }
            } else if (StringUtils.hasText(hash)) {
                authenticatorBuilder.addPropertyValue("passwordEncoder",
View Full Code Here


            if (passwordEncoderElement != null) {
                if (StringUtils.hasText(hash)) {
                    parserContext.getReaderContext().warning("Attribute 'hash' cannot be used with 'password-encoder' and " +
                            "will be ignored.", parserContext.extractSource(elt));
                }
                PasswordEncoderParser pep = new PasswordEncoderParser(passwordEncoderElement, parserContext);
                authenticatorBuilder.addPropertyValue("passwordEncoder", pep.getPasswordEncoder());

                if (pep.getSaltSource() != null) {
                    parserContext.getReaderContext().warning("Salt source information isn't valid when used with LDAP",
                            passwordEncoderElement);
                }
            } else if (StringUtils.hasText(hash)) {;
                authenticatorBuilder.addPropertyValue("passwordEncoder",
View Full Code Here

TOP

Related Classes of org.springframework.security.config.authentication.PasswordEncoderParser

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.