Package com.mossle.security.impl

Examples of com.mossle.security.impl.UserInfoImpl


        Set<GrantedAuthority> dbAuthsSet = new HashSet<GrantedAuthority>();

        loadUserAuthorities(userStatus, dbAuthsSet);

        UserInfoImpl userInfo = new UserInfoImpl();
        userInfo.setUsername(username);
        userInfo.setPassword(userStatus.getPassword());
        userInfo.setAuthorities(this.getAuthorities(userStatus));
        userInfo.setAttributes(Collections.EMPTY_LIST);

        UserDetails userDetails = new UserDetailsBuilder(userInfo,
                userStatus.getPassword()).build();

        return userDetails;
View Full Code Here

TOP

Related Classes of com.mossle.security.impl.UserInfoImpl

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.