You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Chris Cardona (JIRA)" <de...@geronimo.apache.org> on 2005/12/02 20:31:30 UTC
[jira] Updated: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo
[ http://issues.apache.org/jira/browse/GERONIMO-1275?page=all ]
Chris Cardona updated GERONIMO-1275:
------------------------------------
Attachment: geronimo-realm-ok.ldif
ldap-realm-ok.xml
ldap-realm-demo-ok.war
Attached are the ff. files:
1. geronimo-realm-ok.ldif < ldif file to populate the Apache DS in Geronimo / creates test users and groups
2. ldap-realm-ok.xml < LDAP realm configuration that connects to Apache DS in Geronimo
3. ldap-realm-demo-ok.war < webapp that uses the LDAP realm
Running the ldap realm webapp:
1. Add users and groups to Apache Directory (assumes you installed ldap command line tools like ldapadd, etc. / I installed OpenLDAP):
c:\> ldapadd.exe -a -D "uid=admin,ou=system" -f geronimo-realm-ok.ldif -h localhost -p 1389 -x -w secret
2. Deploy ldap realm configuration:
C:\geronimo> java -jar bin\deployer.jar --user system --password manager deploy ldap-realm-ok.xml
3. Deploy ldap realm webapp:
C:\geronimo> java -jar bin\deployer.jar deploy --user system --password manager ldap-realm-demo-ok.war
4. Open a browser and go to: http://localhost:8080/ldap-demo/protect/hello.html and login using system/manager
> Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo
> ----------------------------------------------------------------------------------------------------
>
> Key: GERONIMO-1275
> URL: http://issues.apache.org/jira/browse/GERONIMO-1275
> Project: Geronimo
> Type: Improvement
> Components: security
> Versions: 1.0
> Reporter: Chris Cardona
> Attachments: geronimo-realm-ok.ldif, ldap-realm-demo-ok.war, ldap-realm-ok.xml
>
> It would be nice to have a readily available Security realm configuration that apps can use which connects to the Apache DS bundled with Geronimo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira