org.squashtest.tm.service.security
Interface AdministratorAuthenticationService
- All Superinterfaces:
- UserAuthenticationService
- All Known Implementing Classes:
- AdministratorAuthenticationServiceImpl
public interface AdministratorAuthenticationService
- extends UserAuthenticationService
Configuration should point to an LDAP service or an Squash ad-hoc service if no LDAP is available.
Security should ensure that only the current user or an ADMIN authority can actually perform the requested operation,
safe for the modification of a password (only the user may access it).
- Author:
- bsiri
createNewUserPassword
void createNewUserPassword(String login,
String plainTextPassword,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
Collection<org.springframework.security.core.GrantedAuthority> autorities)
createUser
void createUser(org.springframework.security.core.userdetails.UserDetails userDetails)
resetUserPassword
void resetUserPassword(String login,
String plainTextPassword)
deactivateAccount
void deactivateAccount(String login)
activateAccount
void activateAccount(String login)
deleteAccount
void deleteAccount(String login)
userExists
boolean userExists(String login)
- Parameters:
login -
- Returns:
- true if there is authentication data for the given login.
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.