commit | 0579ce1d42c292a420d612fa95453235b232a14f | [log] [tgz] |
---|---|---|
author | Matthias Koller <m.koller@peak-solution.de> | Wed Mar 07 07:56:37 2018 +0100 |
committer | Matthias Koller <m.koller@peak-solution.de> | Wed Mar 07 07:56:37 2018 +0100 |
tree | fd69d4b73b81e04d038a6f17bd80bc0298ada719 | |
parent | 8f14166f9d5b0601a14776b8fb03ca0c1822b61a [diff] | |
parent | 9e2c86b8b1df14f965240359b08a99e817577b8f [diff] |
Merge branch 'dev'
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