public interface UserDetailsService
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentUserName()
Retrieve the name of the currently logged in user
|
boolean |
isUserInRole(String... roles)
Returns true when the user is in (at least one of) the provided roles
|
boolean |
isUserInRole(String role)
Indicates whether the currently logged in user has a certain role
|
String getCurrentUserName()
boolean isUserInRole(String role)
role - the roleboolean isUserInRole(String... roles)
roles - Copyright © 2019 Open Circle Solutions. All rights reserved.