Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Commit

Permalink
Corrections to the Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlistairDoswald authored May 29, 2018
1 parent 2a6a359 commit fcae5a8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ integrated into Keycloak.

Currently, the module contains the following mappers:

* JavaScript mapper for SAML: This mapper is analogous to the OIDC script mapper, allowing the use of JavaScript to fill
mappers.
* JavaScript mapper for SAML: This mapper is analogous to the OIDC script mapper, allowing the use of JavaScript to add
attribute values to SAML tokens.

This module is currently working on 3.4.3.Final.

Expand All @@ -21,13 +21,13 @@ This is an example with keycloak available at /opt/keycloak
install -d -v -m755 /opt/keycloak/modules/system/layers/client-mappers -o keycloak -g keycloak

#Setup the module directory
install -d -v -m755 /opt/keycloak/modules/system/layers/layers/client-mappers/io/cloudtrust/keycloak-client-mappers/main/ -o keycloak -g keycloak
install -d -v -m755 /opt/keycloak/modules/system/layers/client-mappers/io/cloudtrust/keycloak-client-mappers/main/ -o keycloak -g keycloak

#Install jar
install -v -m0755 -o keycloak -g keycloak -D target/keycloak-client-mappers-3.4.3.Final.jar /opt/keycloak/modules/system/layers/layers/client-mappers/io/cloudtrust/keycloak-client-mappers/main/
install -v -m0755 -o keycloak -g keycloak -D target/keycloak-client-mappers-3.4.3.Final.jar /opt/keycloak/modules/system/layers/client-mappers/io/cloudtrust/keycloak-client-mappers/main/

#Install module file
install -v -m0755 -o keycloak -g keycloak -D module.xml /opt/keycloak/modules/system/layers/layers/client-mappers/io/cloudtrust/keycloak-client-mappers/main/
install -v -m0755 -o keycloak -g keycloak -D module.xml /opt/keycloak/modules/system/layers/client-mappers/io/cloudtrust/keycloak-client-mappers/main/

```

Expand Down Expand Up @@ -58,6 +58,6 @@ __standalone.xml__
It's use is almost analog to the OIDC script mapper: the
[nashorn javascript engine](https://docs.oracle.com/javase/10/nashorn/introduction.htm#JSNUG136) is used to
evaluate the input script, and the last statement is the value that will be returned in the SAML attribute. The
sole difference to the OIDC varient is that the `SAML javascript mapper` can handle Iterables or arrays as a return
sole difference to the OIDC varient is that the JavaScript mapper for SAML can handle Iterables or arrays as a return
value: the result will either be multiple attributes, or a single attribute with a grouped value, depending on the
value of the **Single Group Attribute** option.
value of the **Single Group Attribute** option.

0 comments on commit fcae5a8

Please sign in to comment.