Home > Contents > Index >
acl:create
Creates an ACL.
Syntax
<acl:create name="ACL name" > <acl:argument name="argument name" value="argument value" > </acl:create>Parameters
name (required)
- Name of the ACL.
Description
Creates an ACL for a specified table. Use
acl:argument
to specify names, descriptions and privileges.Values for
cataccess
(the numeric value that determines the level of permissions) are as follows:
- read = 1
- write = 2
- create = 4
- destroy = 8
- retrieve = 10
- rtaudit = 20
- rtadmin = 40
The values for cataccess work similarly to UNIX permissions. For example, if you want a user to have read and write permission, assign
3
tocataccess
.Error Numbers
The possible values of
errno
include:
Value Description -10001 The implementing class is invalid. -10002 There is a missing method for the implementing class. -10003 The method could not be invoked successfully. -10010 Invalid attribute value.Example
The following example creates an object in the object pool called called
acl1
.<acl:create name="acl1"> <acl:argument name="aclname" value="myacl"/> <acl:argument name="cataccess" value="1"/><acl:argument name="description" value="test"/>
</acl:create>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.