Skip navigation links
oracle.wcps.property.security
Class UsersPropertyPermission
java.lang.Object
oracle.wcps.property.security.UsersPropertyPermission
- All Implemented Interfaces:
- IPropertyPermission
-
public class UsersPropertyPermission
- extends java.lang.Object
- implements IPropertyPermission
A property permission implementation that checks if the currently logged in principal name is equal to the propertyset name being accessed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersPropertyPermission
public UsersPropertyPermission()
isAllowed
public boolean isAllowed(IContext context,
Capability c,
IResourceId resourceId)
- Description copied from interface:
IPropertyPermission
- Returns true if the given c capability is allowed on the given resource resourceId.
-
- Specified by:
isAllowed
in interface IPropertyPermission
-
- Parameters:
context
- property service context. If this API is accessed remotely this context must have remote properties.
c
- a capability
resourceId
- a resource id
- Returns:
- true if capability is allowed on the given resource id, otherwise false.
isAllowed
protected boolean isAllowed(javax.servlet.http.HttpServletRequest req,
PropertySetResourceId setResourceId)
Skip navigation links
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.