Modify an existing resource server
To modify an existing Resource Server with the local management interface, use the API Access Control resources page.
Procedure
- In the appliance top menu, Web > API Access Control > Resources.
- Click the icon next to the Reverse Proxy instance that holds the Resource
Server.These are the root level objects in the tree.
- Select the resource server to modify.
- Click Edit.
- The API Host tab only allows the host server to be edited in advanced mode. If any of the
data needs to be edited, click the Edit button.This changes the dialog box to allow the advanced junction data to be entered. See Creating virtual junctions or Creating standard junctions.
- In the Authentication tab enter the details for how the OAuth
token is validated.
- To use the existing reverse proxy configuration select the Current Reverse Proxy Authentication radio button.
- To use an external OAuth introspection endpoint select the OAuth
Introspection radio button and enter the details.
- Enter the URL for the introspection endpoint in the Introspection URL field.
- After the URL is entered optionally, click the Load Key button to load the CA certificate from the endpoint into the reverse proxy keyfile.
- Choose the method by which the authentication data is presented to the introspection endpoint by selecting either Basic Authentication or POST parameter from the drop-down list.
- If the authentication data is client ID and/or client secret, click the Client Credentials radio button and enter the Client Id and/or Client secret.
- If the authentication data is a client ID header name, select the HTTP Header and enter the Header Name.
- If the mapped identity must correspond to an existing Verify Identity Access identity, select the OAuth Identity must correspond to a known Verify Identity Access identity radio button. If the mapped identity is not required to correspond to an existing Verify Identity Access identity, select OAuth Identity does not need to correspond to a known Verify Identity Access identity radio button.
- To add a new Introspection attribute definition, click the Add button in
the Introspection Response Attributes toolbar.
- Choose whether this definition is to include or not include this attribute in the response.
- Enter the Attribute name.
- Click OK.
- Click Delete to remove an Introspection attribute definition.
- Click Move Up to move an attribute definition up in the ordered list.
- In the policy tab select the policy that is to be attached to this resource
server.
- Use the parent policy and select the default Verify Identity Access Policy radio button. Do not attach any policy directly.
- Click the No Access Permitted (disabled) radio button to not allow access.
- Click the Unauthenticated Access Allowed radio button to allow unauthenticated access.
- Click the Any Authenticated radio button to allow any authenticated access.
- Click the Custom radio button to use a custom Access Control Policy. Select the custom policy name form the drop-down list.
- In the Response tab, set any static response headers to
Create.
- Click Add to add a new response header.
- In the dialog box, select the Header Name or enter a new value in the Header Name field.
- Enter the header value.
- Click Save.
- Click Delete to delete a response header from the header list.
- Click Add to add a new response header.
- In the new Identity tab, set the JWT configuration:
- Check the Enable JWT check-box to enable JWT generation.
- Specify the HTTP header name for the generated JWT in the Header Name field.
- Select the certificate that is used to sign the generated JWT from the
Certificate dropddown. This dropddown is populated with the available
personal certificates from either:
- The keystore configured in the
jct-cert-keyfileentry of the junction stanza in the reverse proxy configuration file. - If the
jct-cert-keyfileentry is not configured, the keystore configured in thewebseal-cert-keyfileentry of the ssl stanza in the reverse proxy configuration file.
- The keystore configured in the
- Set the list of claims to add to the generated JWT by using the toolbar for the claims
table.
- Click the Add button to create a new claim.
- Click the Literal claim radio button if the claim is a literal text value.
- Click the Credential attribute claim radio button if the claim value is retrieved from a credential attribute
- Enter the value for a literal claim or the attribute name for a credential attribute claim. The attribute name can include wildcard characters “*” or “?” if a pattern of attributes is to be included in the generated JWT.
- Enter the name for the claim in Claim Name field. This field is optional when the claim is a
credential attribute claim.Note: If the claim is a credential attribute claim and the attribute name includes a wildcard this field is not valid. Instead the claim name for each matched attribute is set as the name of the matched attribute.
If the claim is a credential attribute claim and this field is not set, the claim name is set to the attribute name.
- Click the Save button to add the new claim to the list of claims.
- Select the claim to edit and click the Edit button to update an existing claim.
- Select the claim to remove and click the Delete button to remove an existing claim.
- Click the Add button to create a new claim.
- Once all of the data is set, click Save, to update the resource server.