Definition of a simple RoleDecoder that takes a single attribute and maps it directly to roles.
| Name | Dynamic | Other provider points |
|---|---|---|
| org.wildfly.security.role-decoder | true |
/subsystem=elytron/custom-role-decoder=* /subsystem=elytron/source-address-role-decoder=* /subsystem=elytron/aggregate-role-decoder=* |
| Type | STRING |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | all-services |
| Stability Level | default |
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| attribute | STRING | true | true | The name of the attribute from the identity to map directly to roles. |
| Raw DMR model |
|
| Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.elytron.simple-role-decoder">
<param name="simple-role-decoder" value="{resource name}"/>
<param name="attribute" value="{value}"/>
<feature/>