org.squashtest.tm.service.internal.security
Class AdministratorAuthenticationServiceImpl
java.lang.Object
org.squashtest.tm.service.internal.security.AdministratorAuthenticationServiceImpl
- All Implemented Interfaces:
- AdministratorAuthenticationService, UserAuthenticationService
public class AdministratorAuthenticationServiceImpl
- extends Object
- implements AdministratorAuthenticationService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdministratorAuthenticationServiceImpl
public AdministratorAuthenticationServiceImpl()
setUserDetailsManager
public void setUserDetailsManager(SquashUserDetailsManager userManager)
setPasswordEncoder
public void setPasswordEncoder(org.springframework.security.authentication.encoding.PasswordEncoder encoder)
setSalt
public void setSalt(Object salt)
canModifyUser
public boolean canModifyUser()
- Specified by:
canModifyUser in interface UserAuthenticationService
changeAuthenticatedUserPassword
public void changeAuthenticatedUserPassword(String plainOldPassword,
String plainNewPassword)
- Specified by:
changeAuthenticatedUserPassword in interface UserAuthenticationService
createNewUserPassword
public void createNewUserPassword(String login,
String plainTextPassword,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
Collection<org.springframework.security.core.GrantedAuthority> autorities)
- Specified by:
createNewUserPassword in interface AdministratorAuthenticationService
resetUserPassword
public void resetUserPassword(String login,
String plainTextPassword)
- Specified by:
resetUserPassword in interface AdministratorAuthenticationService
changeUserlogin
public void changeUserlogin(String newLogin,
String oldLogin)
- Specified by:
changeUserlogin in interface UserAuthenticationService
deactivateAccount
public void deactivateAccount(String login)
- Specified by:
deactivateAccount in interface AdministratorAuthenticationService
activateAccount
public void activateAccount(String login)
- Specified by:
activateAccount in interface AdministratorAuthenticationService
deleteAccount
public void deleteAccount(String login)
- Specified by:
deleteAccount in interface AdministratorAuthenticationService
userExists
public boolean userExists(String login)
- Specified by:
userExists in interface AdministratorAuthenticationService
- Returns:
- true if there is authentication data for the given login.
- See Also:
AdministratorAuthenticationService.userExists(java.lang.String)
createUser
public void createUser(org.springframework.security.core.userdetails.UserDetails plaintextPasswordUser)
- Specified by:
createUser in interface AdministratorAuthenticationService
- See Also:
AdministratorAuthenticationService.createUser(org.springframework.security.core.userdetails.UserDetails)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.