|
6 | 6 | - [Modeling a Work Manager](#work-manager-sample)
|
7 | 7 | - [Modeling Security Providers](#modeling-security-providers)
|
8 | 8 | - [Modeling WebLogic Users, Groups, and Roles](#modeling-weblogic-users-groups-and-roles)
|
| 9 | + - [Modeling WebLogic User Password Credential Mapping](#modeling-weblogic-user-password-credential-mapping) |
9 | 10 | - [Modeling ODL](#odl-configuration)
|
10 | 11 | - [Modeling Oracle HTTP Server (OHS)](#configuring-oracle-http-server)
|
11 | 12 | - [Targeting Server Groups](#targeting-server-groups)
|
|
409 | 410 | - WebLogic global roles are only updated for the WebLogic security XACML role mapping provider (i.e. `XACMLRoleMapper`)
|
410 | 411 | - The user and group processing is not complete, currently, users cannot be assigned to groups. Users created using the `Security` section are automatically added to the `Administrators` group and are not added to the groups specified. As soon as a patch to correct the user and group processing is available, we will post it here.
|
411 | 412 |
|
412 |
| - |
| 413 | + ### Modeling WebLogic User Password Credential Mapping |
| 414 | + |
| 415 | + The Create Domain Tool can be used to create user password credential mappings for use with the `DefaultCredentialMapper` security provider. Information in the model will be used to create a credential mapping file that will be imported the first time the Administration Server is started. This example shows how mappings are represented in the model: |
| 416 | + ```yaml |
| 417 | +domainInfo: |
| 418 | + WLSUserPasswordCredentialMappings: |
| 419 | + CrossDomain: |
| 420 | + map1: |
| 421 | + RemoteDomain: otherDomain |
| 422 | + RemoteUser: otherUser |
| 423 | + RemotePassword: '@@PROP:other.pwd@@' |
| 424 | + RemoteResource: |
| 425 | + map2: |
| 426 | + Protocol: http |
| 427 | + RemoteHost: remote.host |
| 428 | + RemotePort: 7020 |
| 429 | + Path: /app/buy |
| 430 | + Method: POST |
| 431 | + User: user1 |
| 432 | + RemoteUser: remoteUser |
| 433 | + RemotePassword: '@@PROP:remote.pwd@@' |
| 434 | + map3: |
| 435 | + Protocol: https |
| 436 | + RemoteHost: remote2.host |
| 437 | + RemotePort: 7030 |
| 438 | + Path: /app/sell |
| 439 | + Method: GET |
| 440 | + User: 'user1,user2' |
| 441 | + RemoteUser: remoteUser2 |
| 442 | + RemotePassword: '@@PROP:remote2.pwd@@' |
| 443 | +``` |
| 444 | + In this example, the mapping `map1` creates a cross-domain credential mapping that provides access from this domain to the remote domain `otherDomain` as the user `otherUser` with the configured password. |
| 445 | + |
| 446 | + The mapping `map2` creates a remote resource credential mapping that will give the local user `user1` access to a single remote resource on `remote.host` as the user `remoteUser` with the configured password. The mapping `map3` is similar, but provides access to a different remote resource for two local users, `user1` and `user2`. |
| 447 | + |
| 448 | + The names of the mapping sections in the model, such as `map1` and `map2`, are used to group the attributes for each mapping in the model and are not part of the resulting credential mappings. These names should be unique for each mapping of a particular type. |
| 449 | + |
413 | 450 | ### ODL Configuration
|
414 | 451 |
|
415 | 452 | Oracle Diagnostic Logging (ODL) can be configured and updated with Create Domain, Update Domain, and Deploy Applications Tools, starting with WDT release 1.5.2. ODL configuration is only supported for offline mode in WDT. ODL configuration is not added when a model is created using the Discover Domain Tool. This example shows how some common configuration elements can be represented in the model.
|
|
0 commit comments