org.kuali.student.security.spring
Class KSRiceDefaultUserDetailsService
java.lang.Object
org.kuali.student.security.spring.KSRiceDefaultUserDetailsService
- All Implemented Interfaces:
- UserDetailsService
public class KSRiceDefaultUserDetailsService
- extends Object
- implements UserDetailsService
This is a description of what this class does.
- Author:
- Kuali Student Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ksuser
private UserWithId ksuser
password
private String password
enabled
private boolean enabled
nonlocked
private boolean nonlocked
identityService
private IdentityService identityService
authorities
private GrantedAuthority[] authorities
KSRiceDefaultUserDetailsService
public KSRiceDefaultUserDetailsService()
loadUserByUsername
public UserDetails loadUserByUsername(String username)
throws UsernameNotFoundException
- Specified by:
loadUserByUsername
in interface UserDetailsService
- Throws:
UsernameNotFoundException
loadUserByUsernameAndToken
public UserDetails loadUserByUsernameAndToken(String username,
UsernamePasswordAuthenticationToken authentication)
throws UsernameNotFoundException
- Throws:
UsernameNotFoundException
setAuthorities
public void setAuthorities(String[] roles)
setIdentityService
public void setIdentityService(IdentityService identityService)
Copyright © 2010 The Kuali Foundation. All rights reserved.