commit | 42ba469636a877fff53cd9af0a8ee9cfc2673b0b | [log] [tgz] |
---|---|---|
author | sdirsch <Sebastian.Dirsch@gigatronik.com> | Tue May 03 16:38:38 2016 +0200 |
committer | sdirsch <Sebastian.Dirsch@gigatronik.com> | Tue May 03 16:38:38 2016 +0200 |
tree | ed8964ccafde7b90d7380c923e7411821cca5815 | |
parent | 63ee59533b7767620dbe8e25a69c36c20e3d2be1 [diff] |
changed: README.MD updated: MDMLoginModule (ConnectorService lookup)
Before you can install and build the realm, you have to checkout and install: (gradlew install)
The command ‘gradlew installRealm’ at org.eclipse.mdm.realms/org.eclipse.mdm.realm.login.glassfish 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
open site: Configurations/server-config/Virtual Servers
choose server and enable SSO (Value: Enabled)
save and restart the Glassfish application server