Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
javax.jcr.security |
Provides interfaces and classes for content repository access control management
functionality.
|
Modifier and Type | Method and Description |
---|---|
Privilege[] |
Privilege.getAggregatePrivileges()
If this privilege is an aggregate privilege, returns the privileges it
contains, the privileges contained by any aggregate privileges among
those, and so on (the transitive closure of privileges contained by this
privilege).
|
Privilege[] |
Privilege.getDeclaredAggregatePrivileges()
If this privilege is an aggregate privilege, returns the privileges
directly contained by the aggregate privilege.
|
Privilege[] |
AccessControlEntry.getPrivileges()
Returns the privileges associated with this access control entry.
|
Privilege[] |
AccessControlManager.getPrivileges(String absPath)
Returns the privileges the session has for absolute path absPath, which
must be an existing node.
|
Privilege[] |
AccessControlManager.getSupportedPrivileges(String absPath)
Returns the privileges supported for absolute path
absPath ,
which must be an existing node. |
Privilege |
AccessControlManager.privilegeFromName(String privilegeName)
Returns the privilege with the specified
privilegeName . |
Modifier and Type | Method and Description |
---|---|
boolean |
AccessControlList.addAccessControlEntry(Principal principal,
Privilege[] privileges)
Adds an access control entry to this policy consisting of the specified
principal and the specified privileges . |
boolean |
AccessControlManager.hasPrivileges(String absPath,
Privilege[] privileges)
Returns whether the session has the specified privileges for absolute
path
absPath , which must be an existing node. |
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.