Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14256-06

Portal Authentication and Entitlement Authorization
Tag isAccessAllowed


Description

This tag provides the primary runtime check for authorizing access to a WLP application resource. If the result of the entitlement check is not "grant", the body of this tag will be skipped. For convenience, an empty body form of the tag may be used and the return value id will be set true for "grant" decisions.


Tag Information
Tag Classcom.bea.p13n.entitlements.servlets.jsp.taglib.IsAccessAllowedTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameIs Access Allowed

Attributes
NameRequiredRequest-timeDescription
resourceIdtruetrue The required parameter, resourceId, represents the application-defined taxonomy (including the resource leaf-node) being requested.
capabilityfalsetrue If no particular capability is specified, a general security policy will be searched for/used.
subjectfalsetrue If no Subject is provided, the current request's Subject will be used.
roleScopefalsetrue The roleScope attribute determines where to look for role policies. The default is enterprise-application scope.
needContextHandlerfalsefalse NeedContextHandler must be true if there is the possibility that an in-scope role policy will be predicated upon user profile attributes. Default is true.
inheritSecurityPolicyfalsefalse The inheritSecurityPolicy allows a hierarchical taxonomy search of security policies for a "grant" decision as opposed to a single, first found, policy evaluation (default is false).
idtruefalse The name of a variable which will hold the result of the tag evaluation. Type is Boolean.

Variables
NameTypeDeclareScopeDescription
From attribute 'id'java.lang.BooleantrueAT_BEGINNo Description


Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14256-06

Copyright © 2011, Oracle. All rights reserved.