Package us.carrclan.david.authc4j.api

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


        }
        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 {
            Object principal = new AuthC4JPrincipal(userInformation);
            authenticationInfo = buildAuthenticationInfo(token, principal);
View Full Code Here

TOP

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

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.