Package org.jasig.cas.authentication.handler

Examples of org.jasig.cas.authentication.handler.BlockedCredentialsAuthenticationException


    protected final boolean authenticateUsernamePasswordInternal(final UsernamePasswordCredentials credentials) throws AuthenticationException {

        final String transformedUsername = getPrincipalNameTransformer().transform(credentials.getUsername());

        if (this.users.contains(transformedUsername)) {
            throw new BlockedCredentialsAuthenticationException();
        }

        return true;
    }
View Full Code Here

TOP

Related Classes of org.jasig.cas.authentication.handler.BlockedCredentialsAuthenticationException

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.