| java.lang.Object org.apache.jetspeed.om.page.psml.AbstractBaseElement
All known Subclasses: org.apache.jetspeed.om.page.psml.FragmentImpl, org.apache.jetspeed.page.document.psml.AbstractNode,
Method Summary | |
public void | checkAccess(String actions) | public static NodeSet | checkAccess(NodeSet nodes, String actions)
checkAccess returns a set of nodes we can access. | public void | checkConstraints(String actions) | public void | checkConstraints(List actions, List userPrincipals, List rolePrincipals, List groupPrincipals, boolean checkNodeOnly, boolean checkParentsOnly) | public void | checkPermissions(int mask) | public void | checkPermissions(int mask, boolean checkNodeOnly, boolean checkParentsOnly) | public void | checkPermissions(String path, int mask, boolean checkNodeOnly, boolean checkParentsOnly) | public boolean | equals(Object obj) | public boolean | getConstraintsEnabled() | public PageSecurity | getEffectivePageSecurity() | public DocumentHandlerFactory | getHandlerFactory() | public String | getId() | public String | getLogicalPermissionPath() | public boolean | getPermissionsEnabled() | public String | getPhysicalPermissionPath() | public SecurityConstraints | getSecurityConstraints() | public String | getShortTitle() | public String | getTitle() | public boolean | grantViewActionAccess() | public int | hashCode() | public void | marshalling() | public SecurityConstraint | newSecurityConstraint() | public SecurityConstraints | newSecurityConstraints() | public void | setConstraintsEnabled(boolean enabled) | public void | setHandlerFactory(DocumentHandlerFactory factory) | public void | setId(String id) | public void | setPermissionsEnabled(boolean enabled) | public void | setSecurityConstraints(SecurityConstraints constraints) | public void | setShortTitle(String title) | public void | setTitle(String title) | public String | toString() | public void | unmarshalled() |
checkAccess | public static NodeSet checkAccess(NodeSet nodes, String actions)(Code) | |
checkAccess returns a set of nodes we can access. It may be the passed in node set or a partial copy.
Parameters: nodes - Parameters: actions - a NodeSet containing the nodes allowing access |
checkConstraints | public void checkConstraints(String actions) throws SecurityException(Code) | |
checkConstraints
See Also: org.apache.jetspeed.om.common.SecureResource.checkConstraints(java.lang.String) Parameters: actions - throws: SecurityException - |
checkConstraints | public void checkConstraints(List actions, List userPrincipals, List rolePrincipals, List groupPrincipals, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException(Code) | |
checkConstraints
Parameters: actions - Parameters: userPrincipals - Parameters: rolePrincipals - Parameters: groupPrincipals - Parameters: checkNodeOnly - Parameters: checkParentsOnly - throws: SecurityException - |
checkPermissions | public void checkPermissions(int mask, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException(Code) | |
checkPermissions
Parameters: mask - of actions Parameters: checkNodeOnly - Parameters: checkParentsOnly - throws: SecurityException - |
checkPermissions | public void checkPermissions(String path, int mask, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException(Code) | |
checkPermissions
Parameters: path - Parameters: mask - Mask of actions requested Parameters: checkNodeOnly - Parameters: checkParentsOnly - throws: SecurityException - |
getConstraintsEnabled | public boolean getConstraintsEnabled()(Code) | |
getConstraintsEnabled
See Also: org.apache.jetspeed.om.common.SecureResource.getConstraintsEnabled whether security relies on PSML constraints |
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) | |
getPermissionsEnabled
See Also: org.apache.jetspeed.om.common.SecureResource.getPermissionsEnabled |
getPhysicalPermissionPath | public String getPhysicalPermissionPath()(Code) | |
getPhysicalPermissionPath
path used for permissions checks |
getSecurityConstraints | public SecurityConstraints getSecurityConstraints()(Code) | |
getSecurityConstraints
See Also: org.apache.jetspeed.om.common.SecureResource.getSecurityConstraints the PSML security constraints |
grantViewActionAccess | public boolean grantViewActionAccess()(Code) | |
grantViewActionAccess
granted access for view action |
marshalling | public void marshalling()(Code) | | marshalling - notification that this instance is to
be saved to the persistent store
|
newSecurityConstraint | public SecurityConstraint newSecurityConstraint()(Code) | |
newSecurityConstraint
See Also: org.apache.jetspeed.om.common.SecureResource.newSecurityConstraint security constraint |
newSecurityConstraints | public SecurityConstraints newSecurityConstraints()(Code) | |
newSecurityConstraints
See Also: org.apache.jetspeed.om.common.SecureResource.newSecurityConstraints a new security constraints object |
setConstraintsEnabled | public void setConstraintsEnabled(boolean enabled)(Code) | |
setConstraintsEnabled
Parameters: enabled - indicator |
setHandlerFactory | public void setHandlerFactory(DocumentHandlerFactory factory)(Code) | |
setHandlerFactory
Parameters: factory - element handler factory |
setPermissionsEnabled | public void setPermissionsEnabled(boolean enabled)(Code) | |
setPermissionsEnabled
Parameters: enabled - indicator |
setSecurityConstraints | public void setSecurityConstraints(SecurityConstraints constraints)(Code) | |
setSecurityConstraints
See Also: org.apache.jetspeed.om.common.SecureResource.setSecurityConstraints(org.apache.jetspeed.om.common.SecurityConstraints) Parameters: constraints - |
unmarshalled | public void unmarshalled()(Code) | | unmarshalled - notification that this instance has been
loaded from the persistent store
|
|
|