Package org.apache.jetspeed.security

Examples of org.apache.jetspeed.security.CredentialPasswordEncoder


            else
            {
                String encodedPassword = password;
                if (upcpm != null && upcpm.getCredentialPasswordEncoder() != null && credential.isEncoded())
                {
                    CredentialPasswordEncoder encoder = upcpm.getCredentialPasswordEncoder();
                    if (upcpm.getCredentialPasswordEncoder() instanceof AlgorithmUpgradeCredentialPasswordEncoder)
                    {
                        encodedPassword = ((AlgorithmUpgradeCredentialPasswordEncoder)encoder).encode(credential, password);
                    }
                    else
                    {
                        encodedPassword = encoder.encode(userName, password);
                    }
                }
                if (!credential.getPassword().equals(encodedPassword))
                {
                    setPassword = true;
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.security.CredentialPasswordEncoder

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.