Package org.andromda.timetracker.vo

Examples of org.andromda.timetracker.vo.UserDetailsVO


    public UserDetails loadUserByUsername(String username)
            throws UsernameNotFoundException, DataAccessException {

      SecurityService service = ServiceLocator.instance().getSecurityService();
        UserDetailsVO userDetailsVO = service.getUserDetails(username);
        if (userDetailsVO == null) {
            throw new UsernameNotFoundException("User " + username + " not found");
        }
        return new UserDetailsImpl(userDetailsVO);
    }
View Full Code Here


     * @see org.andromda.timetracker.service.SecurityService#getUserDetails(java.lang.String)
     */
    protected UserDetailsVO handleGetUserDetails(String username)
        throws java.lang.Exception
    {
        UserDetailsVO userDetailsVO = null;
        User user = getUserDao().getUserDetails(username);
        if (user != null)
        {
            userDetailsVO = getUserDao().toUserDetailsVO(user);
        }
View Full Code Here

TOP

Related Classes of org.andromda.timetracker.vo.UserDetailsVO

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.