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


Standard Syntax:
     <%@ taglib prefix="auth" uri="http://www.bea.com/servers/p13n/tags/auth" %>

XML Syntax:
     <anyxmlelement xmlns:auth="http://www.bea.com/servers/p13n/tags/auth" />

Provides runtime authentication and authorization/entitlement checks.

Tag Library Information
Display NamePortal Authentication and Entitlement Authorization
Version1.0
Short Nameauth
URIhttp://www.bea.com/servers/p13n/tags/auth
 

Tag Summary
isAccessAllowed 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.
isUserInRole This tag provides a runtime check which can be used to authorize access to a WLP application resource. The name of a role passed into this tag is compared to the set of valid roles (computed during the request) for the user. If the result of the role check is false, 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 to true or false. With this tag you can check on visitor roles created via the WLP admin tools or global roles created with the WLS console.
login Provides weak authentication (username, password), and sets the authenticated user as the current WebLogic user. The username and password parameters are required to be present in the HTTP request.
logout This causes the user to be removed from Servlet Session (on all single-signon webapps) as well as from the thread. By default, it also invalidates all sessions the user is a part of.
 


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.