commit | 815aa89cb40293cef6ce488e1841e6dbac24e3b8 | [log] [tgz] |
---|---|---|
author | mkoller <m.koller@peak-solution.de> | Mon Jun 19 14:44:08 2017 +0200 |
committer | mkoller <m.koller@peak-solution.de> | Mon Jun 19 14:44:08 2017 +0200 |
tree | 32bc7d476de8485e6e8801fe09c515d3ee474cc9 | |
parent | 68835aa13358c20e001b285e15ce7fce30a941cb [diff] |
Formatted code with eclipse default formatter
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