Seam Core JSF2 2.3.2.Final-redhat-1

org.jboss.seam.security.permission
Class PermissionMetadata

java.lang.Object
  extended by org.jboss.seam.security.permission.PermissionMetadata
All Implemented Interfaces:
Serializable

public class PermissionMetadata
extends Object
implements Serializable

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
See Also:
Serialized Form

Nested Class Summary
protected  class PermissionMetadata.ActionSet
           
 
Constructor Summary
PermissionMetadata()
           
 
Method Summary
 PermissionMetadata.ActionSet createActionSet(Class<?> targetClass, String members)
           
 List<String> listAllowableActions(Class<?> targetClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionMetadata

public PermissionMetadata()
Method Detail

createActionSet

public PermissionMetadata.ActionSet createActionSet(Class<?> targetClass,
                                                    String members)

listAllowableActions

public List<String> listAllowableActions(Class<?> targetClass)

Seam Core JSF2 2.3.2.Final-redhat-1

Copyright © 2013 Seam Framework. All Rights Reserved.