commit | 2fe851332af1d86ab1d6534a9256e8131f06eee3 | [log] [tgz] |
---|---|---|
author | Martin Fleischer <m.fleischer@peak-solution.de> | Tue Oct 16 13:38:53 2018 +0200 |
committer | Martin Fleischer <m.fleischer@peak-solution.de> | Tue Oct 16 13:38:53 2018 +0200 |
tree | 0142f17773edab6b054776551be512d7e4a45505 | |
parent | 6f3e2500fde5d8046e545bc6b520cff1d4bd474b [diff] |
Copyright headers updated. Change-Id: Id7d0d22fd41cce68e7e0e358986f531d1d95e208 Signed-off-by: Martin Fleischer <m.fleischer@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