public interface AuthorizationsManager
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentUserName()
Retrieve logged user name (audit purposes).
|
Set<String> |
getCurrentUserPermissions()
Retrieves current autorization from context.
|
Set<String> |
listAllPermissions()
Retrieves user roles from all users (if available, for spring security it's not available out-of-the-box and should be
overrides to match the userDetails implementation - for instance dedicated sql-query).
|
String |
toJson()
Serialized as JSON.
|
String getCurrentUserName()
Set<String> getCurrentUserPermissions()
fPoint - feature point with autorisations.Set<String> listAllPermissions()
String toJson()
Copyright © 2013–2017 FF4J. All rights reserved.