org.kuali.student.security.spring
Class KSRiceDefaultUserDetailsService

java.lang.Object
  extended by 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

Field Summary
private  GrantedAuthority[] authorities
           
private  boolean enabled
           
private  IdentityService identityService
           
private  UserWithId ksuser
           
private  boolean nonlocked
           
private  String password
           
 
Constructor Summary
KSRiceDefaultUserDetailsService()
           
 
Method Summary
 UserDetails loadUserByUsername(String username)
           
 UserDetails loadUserByUsernameAndToken(String username, UsernamePasswordAuthenticationToken authentication)
           
 void setAuthorities(String[] roles)
           
 void setIdentityService(IdentityService identityService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ksuser

private UserWithId ksuser

password

private String password

enabled

private boolean enabled

nonlocked

private boolean nonlocked

identityService

private IdentityService identityService

authorities

private GrantedAuthority[] authorities
Constructor Detail

KSRiceDefaultUserDetailsService

public KSRiceDefaultUserDetailsService()
Method Detail

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.