| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.security.acl.AbstractListableRealm
weblogic.security.acl.AbstractManageableRealm
public abstract class AbstractManageableRealm
| Constructor Summary | |
|---|---|
| protected  | AbstractManageableRealm(String auditName)Deprecated. | 
| 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. Maybe owners should be handled internal to the realm? | 
|  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 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 | 
| Methods inherited from interface weblogic.security.acl.ListableRealm | 
|---|
| getAcls, getGroups, getPermissions, getUsers | 
| Constructor Detail | 
|---|
protected AbstractManageableRealm(String auditName)
| Method Detail | 
|---|
public User newUser(String name,
                    Object credential,
                    Object constraints)
             throws SecurityException
If a user of that name already exists, a SecurityException is thrown.
newUser in interface ManageableRealmname - Usernamecredential - X.509 certificate, token, or password, etc.constraints - Constraints on this user's access
SecurityException - if there is an error
public Group newGroup(String name)
               throws SecurityException
newGroup in interface ManageableRealmname - Name for the new Group
SecurityException
public Acl newAcl(Principal owner,
                  String name)
           throws SecurityException
newAcl in interface ManageableRealmowner - name - 
SecurityException
public Permission newPermission(String name)
                         throws SecurityException
newPermission in interface ManageableRealmname - Name for the Permission
SecurityException
public void deleteUser(User user)
                throws SecurityException
deleteUser in interface ManageableRealmuser - User to be removed from the realm
SecurityException
public void deleteGroup(Group group)
                 throws SecurityException
deleteGroup in interface ManageableRealmgroup - Group to be removed from the realm
SecurityException
public void deleteAcl(Principal owner,
                      Acl acl)
               throws SecurityException
deleteAcl in interface ManageableRealmowner - Principal who is an owner of the ACLacl - Access control list to be deleted
SecurityException
public void deletePermission(Permission perm)
                      throws SecurityException
deletePermission in interface ManageableRealmperm - Access control list to be deleted
SecurityException
public void setPermission(Acl acl,
                          Principal principal,
                          Permission permission,
                          boolean allow)
setPermission in interface ManageableRealmacl - Access control list to updateprincipal - Principal who is an owner of the ACLpermission - Permission to updateallow - True to set permission to allow| 
 | Copyright 1996, 2010, 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.4) Part Number E13941-04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||