commit | 0f847f37bd75612c4eb144f1eb33134d963cb2bc | [log] [tgz] |
---|---|---|
author | Alexander Nehmer <a.nehmer@science-computing.de> | Wed Aug 02 12:20:09 2017 +0200 |
committer | Alexander Nehmer <a.nehmer@science-computing.de> | Wed Aug 02 12:20:09 2017 +0200 |
tree | 7fa4b3ff06c719b11f9026cc11348e757b91004a | |
parent | 74b5d6ce159d394f25b5afcdc5db8bf05fd3c966 [diff] | |
parent | fb85aaec019f4b304bc5aca679f810c09a392990 [diff] |
Merge branch '519993_compositebuild' into 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