org.onebusaway.users.impl
Class UserDetailsServiceImpl
java.lang.Object
org.onebusaway.users.impl.UserDetailsServiceImpl
- All Implemented Interfaces:
- IndexedUserDetailsService, org.springframework.security.userdetails.UserDetailsService
@Component
public class UserDetailsServiceImpl
- extends Object
- implements org.springframework.security.userdetails.UserDetailsService, IndexedUserDetailsService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserDetailsServiceImpl
public UserDetailsServiceImpl()
setUserService
public void setUserService(UserService userService)
setAuthoritiesService
public void setAuthoritiesService(StandardAuthoritiesService authoritiesService)
setUserLastAccessTimeService
public void setUserLastAccessTimeService(UserLastAccessTimeService userLastAccessTimeService)
loadUserByUsername
@Transactional
public org.springframework.security.userdetails.UserDetails loadUserByUsername(String username)
throws org.springframework.security.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
UserDetailsService
Interface
- Specified by:
loadUserByUsername
in interface org.springframework.security.userdetails.UserDetailsService
- Throws:
org.springframework.security.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
getUserForIndexKey
@Transactional
public IndexedUserDetails getUserForIndexKey(UserIndexKey key)
throws org.springframework.security.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
IndexedUserDetailsService
Interface
- Specified by:
getUserForIndexKey
in interface IndexedUserDetailsService
- Throws:
org.springframework.security.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
getOrCreateUserForIndexKey
public IndexedUserDetails getOrCreateUserForIndexKey(UserIndexKey key,
String credentials,
boolean isAnonymous)
throws org.springframework.dao.DataAccessException
- Specified by:
getOrCreateUserForIndexKey
in interface IndexedUserDetailsService
- Throws:
org.springframework.dao.DataAccessException
resetUserForIndexKey
public void resetUserForIndexKey(UserIndexKey key)
- Specified by:
resetUserForIndexKey
in interface IndexedUserDetailsService
Copyright © 2012 OneBusAway. All Rights Reserved.