commit | fc6a144ac7b07ef63e5f77913af660ab8b3b5762 | [log] [tgz] |
---|---|---|
author | Angelika Wittek <angelika.wittek@konteno.de> | Tue Oct 16 16:34:19 2018 +0200 |
committer | Angelika Wittek <angelika.wittek@konteno.de> | Tue Oct 16 16:34:19 2018 +0200 |
tree | f55ef61d89624e94e59cead7ad3ea99e4b57d77c | |
parent | 52a95e6020a40b1cd190a7349cd6b5cbe050bbd9 [diff] |
Legal docs for EPL 2.0 Change-Id: If3ff3e1882baa666c91b40c8be8826a7cb75ad08
/********************************************************************************
********************************************************************************/
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