ALES Tags
Tag isAccessAllowed


The isAccessAllowed tag will call the ALES runtime to see if the user is allowed to perform the requested action on the requested resource. If true is returned it will allow the container to continue processing the body of the then tag. For convenience the result of calling isAccessAllowed can be placed within the resultVar for use later by the jsp author. From a configuration standpoint, isAccessAllowed will look for the authorization and role mapping engine (ARME) configuration file in the system properties. If not found, all elements in the body tag should be displayed.


Tag Information
Tag Classcom.bea.ales.tags.IsAccessAllowedTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
resourceyesfalsejava.lang.StringThe resource to pass into isAccessAllowed. If setSecurityContext has been used, then this resource will be pre-pended with that value.
actionnofalsejava.lang.StringThe action to pass into isAccessAllowed
resultVarnofalsejava.lang.StringThe name of the boolean variable that will store the result of calling isAccessAllowed.
resultVarScopenofalsejava.lang.StringThe scope of the resultVar variable. It can be PAGE, REQUEST, SESSION or APPLICATION. The default scope will be PAGE.
responseVarnofalsejava.lang.StringThe name of the Map of strings that will contain responses from calling isAccessAllowed.
responseVarScopenofalsejava.lang.StringThe scope of the responseVar variable. It can be PAGE, REQUEST, SESSION or APPLICATION. The default scope will be PAGE.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.