| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface RoleAuxiliaryMBean
Provides a set of auxiliary methods for creating, editing, and removing role assignment policies. An RoleMapping-provider MBean can optionally extend this MBean.
| Method Summary | |
|---|---|
| abstract  void | createRole(String resourceId, String roleName, String expression, String auxiliary)Creates role for a resource. | 
| abstract  void | exportResource(String filename, String cn)Exports provider specific role data using an LDAP CN search filter to specify the resources for export. | 
| abstract  String | getRoleAuxiliary(String resourceId, String roleName)Get auxiliary role for a resource. | 
| abstract  String[][] | getRoleNames(String resourceType)Returns array of resource/role name tuples of roles defined in the scope of resources of the given type or global roles, when the type is null. | 
| abstract  String[] | listAllRolesAndURIs(String application, String contextPath)List all Role and URI pairings that have policy defined for the specified application and context path. | 
| abstract  void | setRoleAuxiliary(String resourceId, String roleName, String auxiliary)Set auxiliary role for a resource. | 
| Methods inherited from interface weblogic.management.security.authorization.RoleEditorMBean | 
|---|
| createRole, removeRole, setRoleExpression | 
| Methods inherited from interface weblogic.management.security.authorization.RoleReaderMBean | 
|---|
| getRoleExpression, listRolesForResource, roleExists | 
| Methods inherited from interface weblogic.management.commo.StandardInterface | 
|---|
| getName | 
| Methods inherited from interface weblogic.descriptor.DescriptorBean | 
|---|
| addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener | 
| Method Detail | 
|---|
void createRole(String resourceId,
                String roleName,
                String expression,
                String auxiliary)
                throws AlreadyExistsException,
                       CreateException
resourceId - - The resource that scopes the new role. Each resource has its predefined 'hierachy'. This new role is applicable to all of the given resouce's descendants if any. A null indicates a global role, no scoping resource, which applies to all resources within the container.roleName - - The name of the role that this method creates. A null value will trigger NullPointerException.expression - - The expression policy designates which user or group having this named 'role'. A null value indicates this role is not granted to anyone.auxiliary - - Auxiliary data to support WLP.AlreadyExistsExceptionCreateException
void setRoleAuxiliary(String resourceId,
                      String roleName,
                      String auxiliary)
                      throws AlreadyExistsException,
                             CreateException,
                             MBeanException
resourceId - - The resource that scopes the role.roleName - - The name of the role that this method sets the auxiliary on. A null value will trigger NullPointerException.auxiliary - - Auxiliary data to support WLP.AlreadyExistsExceptionCreateExceptionMBeanExeptionMBeanException
String getRoleAuxiliary(String resourceId,
                        String roleName)
                        throws NotFoundException,
                               MBeanException
resourceId - - The resource that scopes the role.roleName - - The name of the role that this method sets the auxiliary on. A null value will trigger NullPointerException.NotFoundExceptionMBeanExeptionMBeanException
void exportResource(String filename,
                    String cn)
                    throws InvalidParameterException,
                           ErrorCollectionException
filename - - The full path to the filename used to write data.cn - - The LDAP CN to be used when exporting data.InvalidParameterExceptionErrorCollectionException
String[] listAllRolesAndURIs(String application,
                             String contextPath)
application - - The name of the deployed application.contextPath - - The context path for the application.String[][] getRoleNames(String resourceType)
resourceType - - The resource type, or null to get global roles| 
 | 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||