Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


oracle.wcps.property.security
Class UsersPropertyPermission

java.lang.Object
  extended by 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.


Field Summary

 

Fields inherited from interface oracle.wcps.property.security.IPropertyPermission
NULL

 

Constructor Summary
UsersPropertyPermission()
           

 

Method Summary
protected  boolean isAllowed(javax.servlet.http.HttpServletRequest req, PropertySetResourceId setResourceId)
           
 boolean isAllowed(IContext context, Capability c, IResourceId resourceId)
          Returns true if the given c capability is allowed on the given resource resourceId.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

UsersPropertyPermission

public UsersPropertyPermission()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.