Package us.carrclan.david.authc4j.api

Examples of us.carrclan.david.authc4j.api.Password


        if (!(authToken instanceof UsernamePasswordToken)) {
            return null;
        }
        UsernamePasswordToken token = (UsernamePasswordToken) authToken;
        String username = token.getUsername();
        Password password = new Password(token.getPassword());
        log.debug("Attempting login for user {}", username);
        UserInformation userInformation = userInformationSource.authenticate(username, password);
        if (userInformation == null) {
            log.debug("Failed login for user {}", username);
        } else {
View Full Code Here

TOP

Related Classes of us.carrclan.david.authc4j.api.Password

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.