@Service
@ConfigurationProperties(value="auth")
public class AuthService
extends java.lang.Object
Constructor and Description |
---|
AuthService() |
Modifier and Type | Method and Description |
---|---|
User |
getCurrentUser() |
void |
setAllUsers(java.util.List<java.lang.String> allUsers) |
void |
setGroupMap(java.util.Map<java.lang.String,java.lang.String> groupMap) |
void |
withSystemUser(java.lang.Runnable supplier) |
<T> T |
withSystemUser(java.util.function.Supplier<T> supplier) |
public void setGroupMap(java.util.Map<java.lang.String,java.lang.String> groupMap)
public void setAllUsers(java.util.List<java.lang.String> allUsers)
public User getCurrentUser()
public <T> T withSystemUser(java.util.function.Supplier<T> supplier)
public void withSystemUser(java.lang.Runnable supplier)