## Attributes (1)

- replacement - The replacement String in the rewrite rule for the redirect URI.

  Type | STRING
  Is the attribute nillable? | true
  Does the attribute allow expression? | true
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | no-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "STRING"
          },
          "description" : "The replacement String in the rewrite rule for the redirect URI.",
          "expressions-allowed" : true,
          "required" : false,
          "nillable" : true,
          "min-length" : 1,
          "max-length" : 2147483647,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "no-services",
          "capability-reference" : null
      }

## Operations (2)

- add - Add the rewrite rule for the redirect URI. The rewrite rule is an object notation, where the key is a regular expression with which the redirect URI is matched and the value is the replacement String. You can use the '$' character to use for back-reference in the replacement String.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  replacement | STRING | false | true |  | The replacement String in the rewrite rule for the redirect URI.

  Raw DMR model |
      {
          "operation-name" : "add",
          "description" : "Add the rewrite rule for the redirect URI. The rewrite rule is an object notation, where the key is a regular expression with which the redirect URI is matched and the value is the replacement String. You can use the '$' character to use for back-reference in the replacement String.",
          "request-properties" : {"replacement" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "STRING"
              },
              "description" : "The replacement String in the rewrite rule for the redirect URI.",
              "expressions-allowed" : true,
              "required" : false,
              "nillable" : true,
              "min-length" : 1,
              "max-length" : 2147483647,
              "stability" : "default"
          }},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "resource-services",
          "runtime-only" : false
      }

- remove - Remove the rewrite rule for the redirect URI.

  Raw DMR model |
      {
          "operation-name" : "remove",
          "description" : "Remove the rewrite rule for the redirect URI.",
          "request-properties" : {},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "resource-services",
          "runtime-only" : false
      }

## Galleon Features

Galleon features are to be used when creating Galleon feature-packs.

- subsystem.elytron-oidc-client.secure-server.redirect-rewrite-rule

      <feature spec="subsystem.elytron-oidc-client.secure-server.redirect-rewrite-rule">
        <param name="redirect-rewrite-rule" value="{resource name}"/>
        <param name="secure-server" value="{resource name}"/>
        <param name="replacement" value="{value}"/>
      <feature/>