public interface RoleAuxiliaryMBean extends RoleEditorMBean
| Modifier and Type | Method and Description | 
|---|---|
| void | createRole(String resourceId,
          String roleName,
          String expression,
          String auxiliary)Creates role for a resource. | 
| void | exportResource(String filename,
              String cn)Exports provider specific role data using an LDAP
                 CN search filter to specify the resources for export. | 
| String | getRoleAuxiliary(String resourceId,
                String roleName)Get auxiliary role for a resource. | 
| 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. | 
| String[] | listAllRolesAndURIs(String application,
                   String contextPath)List all Role and URI pairings that have policy defined for
                 the specified application and context path. | 
| void | setRoleAuxiliary(String resourceId,
                String roleName,
                String auxiliary)Set auxiliary role for a resource. | 
createRole, removeRole, setRoleExpressiongetRoleExpression, listRolesForResource, roleExistsgetNameaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenervoid 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.AlreadyExistsExceptionCreateExceptionvoid 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.AlreadyExistsExceptionCreateExceptionMBeanExeptionMBeanExceptionString 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.NotFoundExceptionMBeanExeptionMBeanExceptionvoid 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.InvalidParameterExceptionErrorCollectionExceptionString[] listAllRolesAndURIs(String application, String contextPath)
application - - The name of the deployed application.contextPath - - The context path for the application.