|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| 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 | |
|---|---|
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. |
| 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 |
| Methods inherited from interface weblogic.descriptor.SettableBean |
|---|
isSet, unSet |
| 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.
AlreadyExistsException
CreateException
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.
AlreadyExistsException
CreateException
MBeanExeption
MBeanException
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.
NotFoundException
MBeanExeption
MBeanException
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.
InvalidParameterException
ErrorCollectionException
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, 2014, 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.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||