public class PermissionReader extends Object
Constructor and Description |
---|
PermissionReader() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
filterPermission(Collection<String> permissions,
org.apache.shiro.subject.Subject subject)
filter permissions for a specific user
|
static Set<String> |
getMethodsAnnotatedWith(Class<?> type,
Class<? extends org.apache.shiro.authz.annotation.RequiresPermissions> annotation)
return the all permissions for vitam
|
public static Set<String> getMethodsAnnotatedWith(Class<?> type, Class<? extends org.apache.shiro.authz.annotation.RequiresPermissions> annotation)
type
- annotation
- public static List<String> filterPermission(Collection<String> permissions, org.apache.shiro.subject.Subject subject)
permissions
- subject
- Copyright © 2018 Vitam. All rights reserved.