commit | 37e3d0f03e9b40e3b8554cc04c2c765e081e95e3 | [log] [tgz] |
---|---|---|
author | Matthias Koller <m.koller@peak-solution.de> | Tue May 22 11:07:54 2018 +0200 |
committer | Matthias Koller <m.koller@peak-solution.de> | Tue May 22 11:07:54 2018 +0200 |
tree | 6d9ab5bf239ab4531c932a22e7f2ffb766f7bffb | |
parent | 7db3a3e86c83432917d31a8cbbffdac1593bb1d8 [diff] |
532098 - change jar file suffixes from 1.0.0 to 5.0.0M1 Signed-off-by: Matthias Koller <m.koller@peak-solution.de>
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