commit | 7db3a3e86c83432917d31a8cbbffdac1593bb1d8 | [log] [tgz] |
---|---|---|
author | Matthias Koller <m.koller@peak-solution.de> | Tue May 08 10:12:16 2018 -0400 |
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | Tue May 08 10:12:16 2018 -0400 |
tree | 09dded4bd33f71097ba683195ed6a5ee8acad5cc | |
parent | 9bf263ee039a9949bb282375728822dab7165586 [diff] | |
parent | 616b3b1d61af962537228716022a57ead057309e [diff] |
Merge "532099 - Provide legal documents in distributions"
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