| commit | 9bf263ee039a9949bb282375728822dab7165586 | [log] [tgz] |
|---|---|---|
| author | Angelika Wittek <angelika.wittek@konteno.de> | Wed Mar 07 13:21:28 2018 +0100 |
| committer | Angelika Wittek <angelika.wittek@konteno.de> | Wed Mar 07 13:21:28 2018 +0100 |
| tree | feb41a8595b23a7acb509918ab6d47311d89ad32 | |
| parent | 0579ce1d42c292a420d612fa95453235b232a14f [diff] |
Notice file added. Change-Id: I8161179580fbd91b00296de0ddc6fbdeb568f979
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