public final class AAALookup
extends act.plugin.AppServicePlugin
| Constructor and Description |
|---|
AAALookup() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyTo(act.app.App app) |
static List<org.osgl.aaa.Permission> |
permissions(String permissionNames)
Returns a list of
Permission from a string list of permission names. |
static org.osgl.aaa.Privilege |
privilege(String privilegeName) |
static List<org.osgl.aaa.Role> |
roles(String roleNames)
Returns a list of
Role from a string list of role names. |
protected void applyTo(act.app.App app)
applyTo in class act.plugin.AppServicePluginpublic static List<org.osgl.aaa.Role> roles(String roleNames)
Returns a list of Role from a string list of role names. The roleNames shall be a String of names separated by StringTokenSet.SEPARATOR.
roleNames - the role namespublic static List<org.osgl.aaa.Permission> permissions(String permissionNames)
Returns a list of Permission from a string list of permission names. The permissionNames shall be a String of names separated by StringTokenSet.SEPARATOR.
permissionNames - the permission namespublic static org.osgl.aaa.Privilege privilege(String privilegeName)
Copyright © 2015–2019 ActFramework. All rights reserved.