weblogic.security.acl
Interface DynamicUserAcl
Deprecated. Deprecated in WebLogic Server 7.0. Replaced by the
rules-based Authorization Provider in the Pluggable Security
Infrastructure.
- public interface DynamicUserAcl
- extends BasicRealm
Supports the dynamic creation of
ACLs for owned resources. Rather than being able to create
arbitrary ACLs, the newUserAcl member function creates a new ACL
that refines an existing ACL by adding permissions for the current
user. This allows everyone to create standard ACLs for resources
they created themselves.
- Author:
- Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
void |
newUserAcl(java.lang.String newName,
char separator,
java.security.acl.Permission[] permissions)
Deprecated. Adds a new Acl to a Realm that grants the current user
permissions. |
Methods inherited from interface weblogic.security.acl.BasicRealm |
getAcl,
getAcl,
getAclOwner,
getGroup,
getName,
getPermission,
getUser,
getUser,
init,
load,
save |
newUserAcl
public void newUserAcl(java.lang.String newName,
char separator,
java.security.acl.Permission[] permissions)
throws java.lang.SecurityException
- Deprecated.
- Adds a new Acl to a Realm that grants the current user
permissions. Throws a security exception if an Acl by that name
already exists or the current thread is not auditable. The
permissions are added to the entries found in the default Acl
obtained by getAcl(newName, separator).
- Parameters:
newName
- Name of Acl to be addedseparator
- Character separator for an Acl hierarchypermissions
- Array of permissions to add to the Acl- Throws:
- java.lang.SecurityException - if the Acl
cannot be added