public class Privileges extends Object
Constructor and Description |
---|
Privileges(JcrSession session)
Creates privileges related to the given session.
|
Modifier and Type | Method and Description |
---|---|
PrivilegeImpl |
forAction(String action)
Searches JCR defined privilege object which belongs to the given
modeshape action.
|
PrivilegeImpl |
forName(String name)
Searches privilege object for the privilege with the given name.
|
Privilege[] |
listOfSupported()
Supported privileges.
|
public Privileges(JcrSession session)
session
- the jcr session.public Privilege[] listOfSupported()
public PrivilegeImpl forName(String name)
name
- the name of privilege to find.public PrivilegeImpl forAction(String action)
action
- the name of the modeshape actionCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.