commit | 4fe0b46d72899fcd4ce02ed7b006db0a828c311c | [log] [tgz] |
---|---|---|
author | sdirsch <Sebastian.Dirsch@gigatronik.com> | Thu Jul 14 13:42:00 2016 +0200 |
committer | sdirsch <Sebastian.Dirsch@gigatronik.com> | Thu Jul 14 13:42:00 2016 +0200 |
tree | 9ee70745495606e087b5e31ba1a15a23c9c08aa9 | |
parent | f09a38005f6983c8b2a0b8782c1163a225b1c85b [diff] |
build upgrade: added org.eclipse.mdm.realm.login.glasfish as sub project, added global repository build script
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