commit | 06f03153349cf1cec3d9edbf5baaf13488d6ad45 | [log] [tgz] |
---|---|---|
author | Angelika Wittek <angelika.wittek@konteno.de> | Tue Oct 16 10:23:01 2018 +0200 |
committer | Angelika Wittek <angelika.wittek@konteno.de> | Tue Oct 16 10:23:01 2018 +0200 |
tree | 87f48a80bb100b6fb48d12ad0ff9f573cfc810ca | |
parent | f5faaf50a0f341a8ef702b8abd7824dacaaf9283 [diff] |
Legal docs adopted for EPL 2.0 Change-Id: Ia869b70293238de4cdd3600dee7d77c09ca94116
/********************************************************************************
********************************************************************************/
The command ‘gradlew install’ at org.eclipse.mdm.realms creates the jar file for this login module.
The jar file will be generated at org.eclipse.mdm.realms/org.eclipse.mdm.realm.login.glassfish/build/libs/org.eclipse.mdm.realm.login.glassfish-1.0.0.jar
copy the jar file org.eclipse.mdm.realm.login.glassfish-1.0.0.jar to GLASSFISH4_ROOT/glassfish/domains/domain1/lib
open the Glassfish login configuration file at GLASSFISH4_ROOT/glassfish/domains/domain1/config/login.conf
add MDM realm module entry to this config file
>MDMLoginRealm { org.eclipse.mdm.realm.login.glassfish.LoginRealmModule required; };
start Glassfish and open administration website (e.g. localhost:4848)
open site: Configurations/server-config/Security/Realms
create new realm (“New” Button)
Name: MDMLoginRealm, Class Name: org.eclipse.mdm.realm.login.glassfish.LoginRealm (choose a specific class name (with radio button))
add Property: Name: jaas-context, Value: MDMLoginRealm
activate single sign on at Configurations/server-config/Virtual Servers/server (SSO = Enabled)
save and restart the Glassfish application server