|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)This MBean represents configuration attributes for the WebLogic Role Mapping provider.Deprecation of MBeanHome and Type-Safe InterfacesThis is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://edocs.bea.com.
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 |
getDescription()
A short description of the WebLogic Role Mapping provider. |
String |
getName()
The name of this configuration. |
String |
getProviderClassName()
The name of this WebLogic Role Mapping provider. |
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[] |
getSupportedExportConstraints()
The security roles you want to be exported from this Role Mapping provider's database. |
String[] |
getSupportedExportFormats()
The format of the file to export. |
String[] |
getSupportedImportConstraints()
The security roles that you want to be imported into this Role Mapping provider's database. |
String[] |
getSupportedImportFormats()
The format of the file to import. |
String |
getVersion()
The version number of the WebLogic Role Mapping provider. |
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.commo.StandardInterface |
setName, wls_getDisplayName, wls_getInterfaceClassName, wls_getObjectName |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Methods inherited from interface weblogic.descriptor.SettableBean |
isSet, unSet |
Methods inherited from interface weblogic.management.security.authorization.DeployableRoleMapperMBean |
isRoleDeploymentEnabled, setRoleDeploymentEnabled |
Methods inherited from interface weblogic.management.security.ProviderMBean |
getRealm |
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.security.authorization.RoleListerMBean |
getRole, getRoleScopedByResource, listAllRoles, listChildRoles, listRepeatingActionsRoles, listRoles, listRolesByApplication, listRolesByComponent, listRolesByResourceType |
Methods inherited from interface weblogic.management.utils.ListerMBean |
advance, close, haveCurrent |
Methods inherited from interface weblogic.management.security.ImportMBean |
importData |
Methods inherited from interface weblogic.management.security.ExportMBean |
exportData |
Method Detail |
public void createRole(String resourceId, String roleName, String expression, String auxiliary) throws weblogic.management.utils.AlreadyExistsException, weblogic.management.utils.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.
weblogic.management.utils.AlreadyExistsException
weblogic.management.utils.CreateException
public void exportResource(String filename, String cn) throws weblogic.management.utils.InvalidParameterException, weblogic.management.utils.ErrorCollectionException
filename
- - The full path to the filename used to write data.cn
- - The LDAP CN to be used when exporting data.
weblogic.management.utils.InvalidParameterException
weblogic.management.utils.ErrorCollectionException
public String getDescription()
getDescription
in interface ProviderMBean
public String getName()
ProviderMBean
getName
in interface weblogic.management.commo.StandardInterface
public String getProviderClassName()
getProviderClassName
in interface ProviderMBean
public String getRoleAuxiliary(String resourceId, String roleName) throws MBeanException, weblogic.management.utils.NotFoundException
resourceId
- - The resource that scopes the role.roleName
- - The name of the role that this method gets the auxiliary from. A null value will trigger NullPointerException.
MBeanException
weblogic.management.utils.NotFoundException
public String[][] getRoleNames(String resourceType)
resourceType
- - The resource type, or null to get global rolespublic String[] getSupportedExportConstraints()
getSupportedExportConstraints
in interface ExportMBean
public String[] getSupportedExportFormats()
getSupportedExportFormats
in interface ExportMBean
public String[] getSupportedImportConstraints()
getSupportedImportConstraints
in interface ImportMBean
public String[] getSupportedImportFormats()
getSupportedImportFormats
in interface ImportMBean
public String getVersion()
getVersion
in interface ProviderMBean
public String[] listAllRolesAndURIs(String application, String contextPath)
application
- - The name of the deployed application.contextPath
- - The context path for the application.public void setRoleAuxiliary(String resourceId, String roleName, String auxiliary) throws weblogic.management.utils.AlreadyExistsException, weblogic.management.utils.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.
weblogic.management.utils.AlreadyExistsException
weblogic.management.utils.CreateException
MBeanException
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |