org.jboss.seam.security.permission
Class PermissionMetadata
java.lang.Object
org.jboss.seam.security.permission.PermissionMetadata
public class PermissionMetadata
- extends Object
Permission actions can either be persisted as a comma-separated list of values, or as a
bit-masked numerical value where certain bits represent specific actions for that class. This
is a helper class that handles the conversion automatically and presents a unified API for
dealing with these persistent actions.
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionMetadata
public PermissionMetadata()
createActionSet
public PermissionMetadata.ActionSet createActionSet(Class targetClass,
String members)
listAllowableActions
public List<String> listAllowableActions(Class targetClass)