|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ManageableRealm
ManageableRealm is the full-featured interface for realms. It adds to a ListableRealm's functionality the ability to create and destroy instances of users, groups, permissions, and ACLs.
| Method Summary | |
|---|---|
void |
deleteAcl(Principal owner,
Acl acl)
Deprecated. Deletes an Acl from a ManageableRealm. |
void |
deleteGroup(Group group)
Deprecated. Deletes a Group from a ManageableRealm. |
void |
deletePermission(Permission perm)
Deprecated. Deletes a Permission from a ManageableRealm. |
void |
deleteUser(User user)
Deprecated. Deletes a User from a ManageableRealm. |
Acl |
newAcl(Principal owner,
String name)
Deprecated. Creates a new Acl with the specified owner and name. |
Group |
newGroup(String name)
Deprecated. Returns a new group for a ManageableRealm. |
Permission |
newPermission(String name)
Deprecated. Creates a new Permission with the specified name for a ManageableRealm. |
User |
newUser(String name,
Object credential,
Object constraints)
Deprecated. Returns a new user in a realm-specific way with the specified name, credentials, and optional constraints. |
void |
setPermission(Acl acl,
Principal principal,
Permission permission,
boolean allow)
Deprecated. Sets or unsets a permission for a principal in an ACL. |
| Methods inherited from interface weblogic.security.acl.ListableRealm |
|---|
getAcls, getGroups, getPermissions, getUsers |
| Method Detail |
|---|
User newUser(String name,
Object credential,
Object constraints)
throws SecurityException
If a user of that name already exists, a SecurityException is thrown.
name - Usernamecredential - X.509 certificate, token, or password, etc.constraints - Constraints on this user's access
SecurityException - if the user cannot be created as specified
Group newGroup(String name)
throws SecurityException
name - Name for the new Group
SecurityException - if the group cannot be created as specified
Acl newAcl(Principal owner,
String name)
throws SecurityException
owner - Owner of the access control listname - Name of the access control list
SecurityException - if the Acl cannot be created as specified
Permission newPermission(String name)
throws SecurityException
name - Name for the Permission
SecurityException - if the Permission cannot be created as specified
void deleteUser(User user)
throws SecurityException
user - User to be removed from the realm
SecurityException - if the user cannot be deleted as specified
void deleteGroup(Group group)
throws SecurityException
group - Group to be removed from the realm
SecurityException - if the group cannot be deleted as specified
void deleteAcl(Principal owner,
Acl acl)
throws SecurityException
owner - Principal who is an owner of the ACLacl - Access control list to be deleted
SecurityException - if the ACL cannot be deleted as specified
void deletePermission(Permission perm)
throws SecurityException
perm - Permission to be removed from the realm
SecurityException - if the permission cannot be deleted as specified
void setPermission(Acl acl,
Principal principal,
Permission permission,
boolean allow)
acl - Access control list to be updatedprincipal - Principal who is an owner of the ACLpermission - Permission to be updatedallow - True to set permission to allow
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||