KEYCLOAK-10106 - Fix typos in default scripts (#6010)

This commit is contained in:
Kohei Tamura 2019-05-07 17:20:04 +09:00 committed by Stian Thorgersen
parent c37c4d2a82
commit 43bda455bc
2 changed files with 2 additions and 4 deletions

View file

@ -36,8 +36,6 @@ import org.keycloak.scripting.EvaluatableScriptAdapter;
import org.keycloak.scripting.ScriptCompilationException;
import org.keycloak.scripting.ScriptingProvider;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import java.util.List;
/**
@ -77,7 +75,7 @@ public class ScriptBasedOIDCProtocolMapper extends AbstractOIDCProtocolMapper im
" * realm - the current realm\n" + //
" * token - the current token\n" + //
" * userSession - the current userSession\n" + //
" * keycloakSession - the current userSession\n" + //
" * keycloakSession - the current keycloakSession\n" + //
" */\n\n\n//insert your code here..." //
)
.add()

View file

@ -55,7 +55,7 @@ public class ScriptBasedMapper extends AbstractSAMLProtocolMapper implements SAM
" * realm - the current realm\n" + //
" * clientSession - the current clientSession\n" + //
" * userSession - the current userSession\n" + //
" * keycloakSession - the current userSession\n" + //
" * keycloakSession - the current keycloakSession\n" + //
" */\n\n\n//insert your code here..." //
);
configProperties.add(property);