Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security.permission
Class PersistentPermissionResolver

    java.lang.Object
      org.jboss.seam.security.permission.PersistentPermissionResolver

All Implemented Interfaces:
  Serializable, PermissionResolver

    @Name(value="org.jboss.seam.security.persistentPermissionResolver")
    @Scope(value=APPLICATION)
    @BypassInterceptors
    @Install(precedence=0)
    @Startup
    public class PersistentPermissionResolver

extends Object
implements PermissionResolver, Serializable

Resolves dynamically-assigned permissions, mapped to a user or a role, and kept in persistent storage, such as a relational database.

Author:
  Shane Bryzak
See Also:
  Serialized Form

Constructor Summary
`PersistentPermissionResolver()`

Method Summary
`void` | `create()`
`void` | `filterSetByAction(Set<Object> targets, String action)`
`PermissionStore` | `getPermissionStore()`
`boolean` | `hasPermission(Object target, String action)`
`protected void` | `initPermissionStore()`
`void` | `setPermissionStore(PermissionStore permissionStore)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PersistentPermissionResolver

    public PersistentPermissionResolver()

Method Detail

### create

    @Create
    public void create()

### initPermissionStore

    protected void initPermissionStore()

### getPermissionStore

    public PermissionStore getPermissionStore()

### setPermissionStore

    public void setPermissionStore(PermissionStore permissionStore)

### hasPermission

    public boolean hasPermission(Object target,
                                 String action)

  Specified by:
    `hasPermission` in interface `PermissionResolver`

### filterSetByAction

    public void filterSetByAction(Set<Object> targets,
                                  String action)

  Specified by:
    `filterSetByAction` in interface `PermissionResolver`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.