1
2
3
4
5
6 package org.andromda.timetracker.service;
7
8 import org.andromda.timetracker.domain.User;
9 import org.andromda.timetracker.vo.UserDetailsVO;
10
11
12
13
14 public class SecurityServiceImpl
15 extends SecurityServiceBase
16 {
17
18
19
20 @Override
21 protected UserDetailsVO handleGetUserDetails(String username)
22 throws Exception
23 {
24 UserDetailsVO userDetailsVO = null;
25 User user = getUserDao().getUserDetails(username);
26 if (user != null)
27 {
28 userDetailsVO = getUserDao().toUserDetailsVO(user);
29 }
30 return userDetailsVO;
31 }
32 }