commit | b0f06b7268473ccaad2741bf03abbb07191e38b7 | [log] [tgz] |
---|---|---|
author | Viktor Stöhr <viktor.stoehr@gigatronik.com> | Thu Jun 02 10:55:39 2016 +0200 |
committer | Viktor Stöhr <viktor.stoehr@gigatronik.com> | Thu Jun 02 10:55:39 2016 +0200 |
tree | 2bc80e85f6304191ab1d1c283a605614f7e1c4c9 | |
parent | 42ba469636a877fff53cd9af0a8ee9cfc2673b0b [diff] |
README.md updated; dependency to *api.default added
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
save and restart the Glassfish application server