Package net.petrikainulainen.spring.testmvc.user.dto

Examples of net.petrikainulainen.spring.testmvc.user.dto.SecurityRole


    private UserDTO createDTO(UserDetails principal) {
        UserDTO dto = null;
        if (principal != null) {
            String username = principal.getUsername();
            SecurityRole role = getRole(principal.getAuthorities());

            dto = new UserDTO(username, role);
        }

        LOGGER.debug("Created user dto: {}", dto);
View Full Code Here

TOP

Related Classes of net.petrikainulainen.spring.testmvc.user.dto.SecurityRole

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.