|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.acl.AbstractListableRealm | +--weblogic.security.acl.AbstractManageableRealm
Constructor Summary | |
protected |
AbstractManageableRealm(java.lang.String auditName)
|
Method Summary | |
void |
deleteAcl(java.security.Principal owner,
java.security.acl.Acl acl)
Deletes an Acl from a ManageableRealm. |
void |
deleteGroup(java.security.acl.Group group)
Deletes a Group from a ManageableRealm. |
void |
deletePermission(java.security.acl.Permission perm)
Deletes a Permission from a ManageableRealm. |
void |
deleteUser(User user)
Deletes a User from a ManageableRealm. |
java.security.acl.Acl |
newAcl(java.security.Principal owner,
java.lang.String name)
Maybe owners should be handled internal to the realm? |
java.security.acl.Group |
newGroup(java.lang.String name)
Returns a new group for a ManageableRealm. |
java.security.acl.Permission |
newPermission(java.lang.String name)
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)
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)
Sets or unsets a permission for a principal in an ACL. |
Methods inherited from class weblogic.security.acl.AbstractListableRealm |
authCertificates,
authenticate,
authInternal,
authSSLCertificates,
authUserPassword,
getAcl,
getAcl,
getAclOwner,
getAcls,
getDelegator,
getGroup,
getGroupMembers,
getGroupMembersInternal,
getGroups,
getName,
getPermission,
getPermissions,
getUser,
getUser,
getUsers,
init,
load,
save,
setDelegator |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected AbstractManageableRealm(java.lang.String auditName)
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 accesspublic java.security.acl.Group newGroup(java.lang.String name) throws java.lang.SecurityException
name
- Name for the new Grouppublic java.security.acl.Acl newAcl(java.security.Principal owner, java.lang.String name) throws java.lang.SecurityException
owner
- name
- public java.security.acl.Permission newPermission(java.lang.String name) throws java.lang.SecurityException
name
- Name for the Permissionpublic void deleteUser(User user) throws java.lang.SecurityException
user
- User to be removed from the realmpublic void deleteGroup(java.security.acl.Group group) throws java.lang.SecurityException
group
- Group to be removed from the realmpublic 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 deletedpublic void deletePermission(java.security.acl.Permission perm) throws java.lang.SecurityException
perm
- Access control list to be deletedpublic void setPermission(java.security.acl.Acl acl, java.security.Principal principal, java.security.acl.Permission permission, boolean allow)
acl
- Access control list to updateprincipal
- Principal who is an owner of the ACLpermission
- Permission to updateallow
- True to set permission to allow
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |