| java.lang.Object org.apache.jetspeed.om.page.impl.BaseElementImpl
All known Subclasses: org.apache.jetspeed.om.page.impl.FragmentImpl, org.apache.jetspeed.page.document.impl.NodeImpl,
Method Summary | |
public void | checkAccess(String actions) | public void | checkConstraints(List actions, List userPrincipals, List rolePrincipals, List groupPrincipals, boolean checkNodeOnly, boolean checkParentsOnly) checkConstraints
Check fully parameterized principal against specified security constraint scope. | public void | checkConstraints(String actions) | public void | checkPermissions(int mask, boolean checkNodeOnly, boolean checkParentsOnly) | public void | checkPermissions(String path, int mask, boolean checkNodeOnly, boolean checkParentsOnly) | public void | checkPermissions(int mask) | public boolean | equals(Object o) | public boolean | getConstraintsEnabled() | public PageSecurity | getEffectivePageSecurity() | public String | getId() | public String | getLogicalPermissionPath() | public String | getName() | public boolean | getPermissionsEnabled() | public String | getPhysicalPermissionPath() | public SecurityConstraints | getSecurityConstraints() | public String | getShortTitle() | public String | getTitle() | public boolean | grantViewActionAccess() | public int | hashCode() | public SecurityConstraint | newSecurityConstraint() | public SecurityConstraints | newSecurityConstraints() | public void | resetCachedSecurityConstraints() | public void | setConstraintsEnabled(boolean enabled) | public void | setName(String name) | public void | setPermissionsEnabled(boolean enabled) | public void | setSecurityConstraints(SecurityConstraints constraints) | public void | setShortTitle(String shortTitle) | public void | setTitle(String title) |
checkConstraints | public void checkConstraints(List actions, List userPrincipals, List rolePrincipals, List groupPrincipals, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException(Code) | | checkConstraints
Check fully parameterized principal against specified security constraint scope.
Parameters: actions - actions to check Parameters: userPrincipals - principal users list Parameters: rolePrincipals - principal roles list Parameters: groupPrincipals - principal group list Parameters: checkNodeOnly - check node scope only Parameters: checkParentsOnly - check parent folder scope only throws: SecurityException - |
checkPermissions | public void checkPermissions(int mask, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException(Code) | | checkPermissions
Parameters: mask - mask of actions to check Parameters: checkNodeOnly - check node scope only Parameters: checkParentsOnly - check parent folder scope only throws: SecurityException - |
checkPermissions | public void checkPermissions(String path, int mask, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException(Code) | | checkPermissions
Parameters: path - permissions path to check Parameters: mask - mask of actions to check Parameters: checkNodeOnly - check node scope only Parameters: checkParentsOnly - check parent folder scope only throws: SecurityException - |
getConstraintsEnabled | public boolean getConstraintsEnabled()(Code) | | |
getEffectivePageSecurity | public PageSecurity getEffectivePageSecurity()(Code) | | getEffectivePageSecurity
effective page security object |
getLogicalPermissionPath | public String getLogicalPermissionPath()(Code) | | getLogicalPermissionPath
path used for permissions checks |
getPermissionsEnabled | public boolean getPermissionsEnabled()(Code) | | |
getPhysicalPermissionPath | public String getPhysicalPermissionPath()(Code) | | getPhysicalPermissionPath
path used for permissions checks |
grantViewActionAccess | public boolean grantViewActionAccess()(Code) | | grantViewActionAccess
granted access for view action |
hashCode | public int hashCode()(Code) | | |
resetCachedSecurityConstraints | public void resetCachedSecurityConstraints()(Code) | | resetCachedSecurityConstraints
|
setConstraintsEnabled | public void setConstraintsEnabled(boolean enabled)(Code) | | setConstraintsEnabled
Parameters: enabled - enable/disable security constraints checks |
setName | public void setName(String name)(Code) | | setName
Parameters: name - element name |
setPermissionsEnabled | public void setPermissionsEnabled(boolean enabled)(Code) | | setPermissionsEnabled
Parameters: enabled - enable/disable security permissions checks |
setShortTitle | public void setShortTitle(String shortTitle)(Code) | | |
|
|