public interface AdminToolUserDetailsService
extends org.springframework.security.core.userdetails.UserDetailsService
| Modifier and Type | Method and Description |
|---|---|
void |
addUserRoles(String username,
Collection<org.springframework.security.core.GrantedAuthority> authorities)
add roles to a user
|
String |
getInfoMessage() |
Collection<org.springframework.security.core.userdetails.UserDetails> |
getUsers()
should return the user details
|
void |
removeUserRoles(String username,
Collection<org.springframework.security.core.GrantedAuthority> authorities)
remove roles from user
|
void |
setInfoMessage(String infoMessage) |
void |
setUserCredentialsExpired(String username,
boolean credentialsExpired)
change the credentialsExpired state of user
|
void |
setUserEnabled(String username,
boolean enabled)
change the enabled state of user
|
void |
setUserExpired(String username,
boolean expired)
change the expired state of user
|
void |
setUserLocked(String username,
boolean locked)
change the lock state of user
|
void |
setUserName(String currentUsername,
String newUserName)
change the user name
|
void |
setUserRoles(String username,
Collection<org.springframework.security.core.GrantedAuthority> authorities)
override all roles
|
String getInfoMessage()
void setInfoMessage(String infoMessage)
infoMessage - Collection<org.springframework.security.core.userdetails.UserDetails> getUsers()
void setUserName(String currentUsername, String newUserName)
currentUsername - newUserName - void setUserLocked(String username, boolean locked)
username - locked - set true to lock uservoid setUserExpired(String username, boolean expired)
username - expired - set true to expire uservoid setUserEnabled(String username, boolean enabled)
username - enabled - set true to enabled uservoid setUserCredentialsExpired(String username, boolean credentialsExpired)
username - credentialsExpired - set true to set credentialsExpiredvoid addUserRoles(String username, Collection<org.springframework.security.core.GrantedAuthority> authorities)
username - authorities - void removeUserRoles(String username, Collection<org.springframework.security.core.GrantedAuthority> authorities)
username - authorities - void setUserRoles(String username, Collection<org.springframework.security.core.GrantedAuthority> authorities)
username - authorities - Copyright © 2016–2018. All rights reserved.