Definition of a RoleDecoder that maps roles based on the IP address of a remote client.
| Name | Dynamic | Other provider points |
|---|---|---|
| org.wildfly.security.role-decoder | true | /subsystem=elytron/custom-role-decoder=* /subsystem=elytron/simple-role-decoder=* /subsystem=elytron/aggregate-role-decoder=* |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Type | LIST |
| Nillable | false |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| pattern | STRING | true | true | A regular expression that specifies the IP address to match. | |
| roles | LIST | true | true | The list of roles to assign if the IP address of the remote client matches. | |
| source-address | STRING | true | true | The IP address to match. |