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:18:30 UTC

[jira] Created: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

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


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


[jira] Closed: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1275?page=all ]
     
David Jencks closed GERONIMO-1275:
----------------------------------

    Resolution: Fixed

Port to branch 1.0

Adding         applications/ldap-realm-demo
Adding         applications/ldap-realm-demo/maven.xml
Adding         applications/ldap-realm-demo/project.properties
Adding         applications/ldap-realm-demo/project.xml
Adding         applications/ldap-realm-demo/src
Sending        assemblies/j2ee-installer/project.xml
Sending        assemblies/j2ee-jetty-server/project.xml
Sending        assemblies/j2ee-jetty-server/src/var/config/config.xml
Sending        assemblies/j2ee-tomcat-server/project.xml
Sending        assemblies/j2ee-tomcat-server/src/var/config/config.xml
Adding         configs/ldap-demo-jetty
Adding         configs/ldap-demo-jetty/LICENSE.txt
Adding         configs/ldap-demo-jetty/NOTICE.txt
Adding         configs/ldap-demo-jetty/maven.xml
Adding         configs/ldap-demo-jetty/project.properties
Adding         configs/ldap-demo-jetty/project.xml
Adding         configs/ldap-demo-jetty/src
Adding         configs/ldap-demo-tomcat
Adding         configs/ldap-demo-tomcat/LICENSE.txt
Adding         configs/ldap-demo-tomcat/NOTICE.txt
Adding         configs/ldap-demo-tomcat/maven.xml
Adding         configs/ldap-demo-tomcat/project.properties
Adding         configs/ldap-demo-tomcat/project.xml
Adding         configs/ldap-demo-tomcat/src
Adding         configs/ldap-realm
Adding         configs/ldap-realm/LICENSE.txt
Adding         configs/ldap-realm/NOTICE.txt
Adding         configs/ldap-realm/maven.xml
Adding         configs/ldap-realm/project.properties
Adding         configs/ldap-realm/project.xml
Adding         configs/ldap-realm/src
Transmitting file data ........
Committed revision 355948.

> 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-M5
>     Reporter: Chris Cardona
>     Assignee: Jeff Genender
>      Fix For: 1.0
>  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


[jira] Assigned: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1275?page=all ]

David Jencks reassigned GERONIMO-1275:
--------------------------------------

    Assign To: Jeff Genender

> 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
>     Assignee: Jeff Genender
>  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


[jira] Commented: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1275?page=comments#action_12360004 ] 

David Jencks commented on GERONIMO-1275:
----------------------------------------

updated the config, added to jetty and tomcat servers in head:

Sending        assemblies/j2ee-jetty-server/project.xml
Sending        assemblies/j2ee-jetty-server/src/var/config/config.xml
Sending        assemblies/j2ee-tomcat-server/project.xml
Sending        assemblies/j2ee-tomcat-server/src/var/config/config.xml
Adding         configs/ldap-realm
Adding         configs/ldap-realm/LICENSE.txt
Adding         configs/ldap-realm/NOTICE.txt
Adding         configs/ldap-realm/maven.xml
Adding         configs/ldap-realm/project.properties
Adding         configs/ldap-realm/project.xml
Adding         configs/ldap-realm/src
Adding         configs/ldap-realm/src/plan
Adding         configs/ldap-realm/src/plan/plan.xml
Transmitting file data ..........
Committed revision 355668.

> 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
>     Assignee: Jeff Genender
>  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


[jira] Updated: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

Posted by "Chris Cardona (JIRA)" <de...@geronimo.apache.org>.
     [ 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


[jira] Commented: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1275?page=comments#action_12360070 ] 

Jeff Genender commented on GERONIMO-1275:
-----------------------------------------

The LDAP war file needs its geronimo-web.xml to contain the following as the parentId:

geronimo/ldap-realm/1.0-SNAPSHOT/car

Since the plan has now been added to stratup as a configuration.

> 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
>     Assignee: Jeff Genender
>  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


[jira] Updated: (GERONIMO-1275) Security realm configuration file connecting specifically to the Apache Directory Server in Geronimo

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1275?page=all ]

Aaron Mulder updated GERONIMO-1275:
-----------------------------------

    Fix Version: 1.0
        Version: 1.0-M5
                     (was: 1.0)

> 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-M5
>     Reporter: Chris Cardona
>     Assignee: Jeff Genender
>      Fix For: 1.0
>  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