org.squashtest.tm.service.security
Interface UserDetailsService

All Superinterfaces:
org.springframework.security.core.userdetails.UserDetailsService
All Known Subinterfaces:
SquashUserDetailsManager
All Known Implementing Classes:
SquashUserDetailsManagerImpl

public interface UserDetailsService
extends org.springframework.security.core.userdetails.UserDetailsService

Author:
Gregory Fouquet

Method Summary
 void changeUserLogin(String newLogin, String oldLogin)
          Changes the user login (for authentication) from oldLogin to newLogin
 List<org.springframework.security.core.GrantedAuthority> loadAuthoritiesByUsername(String username)
          Loads authorities as the UserDetailsService.loadUserByUsername(String) method would, but it does not check the authentication table beforehand.
 
Methods inherited from interface org.springframework.security.core.userdetails.UserDetailsService
loadUserByUsername
 

Method Detail

loadAuthoritiesByUsername

List<org.springframework.security.core.GrantedAuthority> loadAuthoritiesByUsername(@NotNull
                                                                                   String username)
Loads authorities as the UserDetailsService.loadUserByUsername(String) method would, but it does not check the authentication table beforehand.

Parameters:
username -
Returns:

changeUserLogin

void changeUserLogin(String newLogin,
                     String oldLogin)
Changes the user login (for authentication) from oldLogin to newLogin

Parameters:
newLogin -
oldLogin -


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.