Create A New Role Mapper
/management/weblogic/{version}/edit/securityConfiguration/realms/{name}/roleMappers
Add a new role mapper to this collection.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain a populated role mapper model.
object
Role Mapper
-
description(optional):
string
Returns a description of this security provider.
Each security provider's MBean should set the default value of this read-only attribute to a string that describes the provider. In other words, each security provider's MBean hard-wires its description. There are no conventions governing the contents of the description. It should be a human readable string that gives a brief description of the security provider.
-
name(optional):
string
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.
-
realm(optional):
array Realm Reference
Title:
Realm Reference
Contains the realm reference.Returns the realm that contains this security provider. Returns null if this security provider is not contained by a realm.
-
type(optional):
string
- The type of this Role Mapping provider, for example,
weblogic.security.providers.authorization.DefaultRoleMapper
UsegetRoleMapperTypes
to find the list of types that may be specified. -
version(optional):
string
Returns this security provider's version.
Each security provider's MBean should set the default value of this read-only attribute to a string that specifies the version of the provider (e.g. 7.3.04). In other words, each security provider's MBean hard-wires its version. There are no conventions governing the contents of the version string.
array
Realm Reference
Returns the realm that contains this security provider. Returns null if this security provider is not contained by a realm.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.