|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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(java.security.Principal owner,
java.security.acl.Acl acl)
Deprecated. Deletes an Acl from a ManageableRealm. |
void |
deleteGroup(java.security.acl.Group group)
Deprecated. Deletes a Group from a ManageableRealm. |
void |
deletePermission(java.security.acl.Permission perm)
Deprecated. Deletes a Permission from a ManageableRealm. |
void |
deleteUser(User user)
Deprecated. Deletes a User from a ManageableRealm. |
java.security.acl.Acl |
newAcl(java.security.Principal owner,
java.lang.String name)
Deprecated. Creates a new Acl with the specified owner and name. |
java.security.acl.Group |
newGroup(java.lang.String name)
Deprecated. Returns a new group for a ManageableRealm. |
java.security.acl.Permission |
newPermission(java.lang.String name)
Deprecated. Creates a new Permission with the specified name for a ManageableRealm. |
User |
newUser(java.lang.String name,
java.lang.Object credential,
java.lang.Object constraints)
Deprecated. Returns a new user in a realm-specific way with the specified name, credentials, and optional constraints. |
void |
setPermission(java.security.acl.Acl acl,
java.security.Principal principal,
java.security.acl.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 |
| Methods inherited from interface weblogic.security.acl.BasicRealm |
getAcl,
getAcl,
getAclOwner,
getGroup,
getName,
getPermission,
getUser,
getUser,
init,
load,
save |
| Method Detail |
public User newUser(java.lang.String name,
java.lang.Object credential,
java.lang.Object constraints)
throws java.lang.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
public java.security.acl.Group newGroup(java.lang.String name)
throws java.lang.SecurityException
name - Name for the new Group
public java.security.acl.Acl newAcl(java.security.Principal owner,
java.lang.String name)
throws java.lang.SecurityException
owner - Owner of the access control listname - Name of the access control list
public java.security.acl.Permission newPermission(java.lang.String name)
throws java.lang.SecurityException
name - Name for the Permission
public void deleteUser(User user)
throws java.lang.SecurityException
user - User to be removed from the realm
public void deleteGroup(java.security.acl.Group group)
throws java.lang.SecurityException
group - Group to be removed from the realm
public void deleteAcl(java.security.Principal owner,
java.security.acl.Acl acl)
throws java.lang.SecurityException
owner - Principal who is an owner of the ACLacl - Access control list to be deleted
public void deletePermission(java.security.acl.Permission perm)
throws java.lang.SecurityException
group - Permission to be removed from the realm
public void setPermission(java.security.acl.Acl acl,
java.security.Principal principal,
java.security.acl.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
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||