You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2005/11/04 23:43:29 UTC
svn commit: r330940 - in
/portals/jetspeed-2/trunk/components/security/xdocs: config.xml ldap.xml
navigation.xml
Author: taylor
Date: Fri Nov 4 14:43:28 2005
New Revision: 330940
URL: http://svn.apache.org/viewcvs?rev=330940&view=rev
Log:
split out LDAP docs
Added:
portals/jetspeed-2/trunk/components/security/xdocs/ldap.xml
Modified:
portals/jetspeed-2/trunk/components/security/xdocs/config.xml
portals/jetspeed-2/trunk/components/security/xdocs/navigation.xml
Modified: portals/jetspeed-2/trunk/components/security/xdocs/config.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/xdocs/config.xml?rev=330940&r1=330939&r2=330940&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/security/xdocs/config.xml (original)
+++ portals/jetspeed-2/trunk/components/security/xdocs/config.xml Fri Nov 4 14:43:28 2005
@@ -361,90 +361,5 @@
</p>
</subsection>
</section>
- <section name="LDAP Configuration">
- <p>
- Jetspeed 2 provides LDAP support for authentication. Configuring LDAP authentication can be done by replacing the configuration files located
- under
- <i>${jetspeed-source-home}/portal/src/webapp/WEB-INF/assembly/</i>
- by the files located under as indicated
- <i>${jetspeed-source-home}/components/security/etc/</i>
- . below.
- </p>
- <p>
- Jetspeed 2
- <b>does not currently provide an embedded LDAP directory</b>
- . A external LDAP directory must be configured in order to leverage this functionality.
- </p>
- <p>
- <i>security-spi-atn.xml</i>
- should be replaced by
- <i>security-spi-ldap-atn.xml</i>
- and
- <i>security-spi-ldap.xml</i>
- should be copied to the assembly directory as well.
- </p>
- <p>
- The
- <i>security-spi-ldap-atn.xml</i>
- preforms the same functions as the
- <i>security-spi-atn.xml</i>
- described above. It replaces the default implementation for
- <i>CredentialHandler</i>
- and
- <i>UserSecurityHandler</i>
- with an LDAP specific implementation.
- </p>
- <p>
- Additionally,
- <i>ldap.properties</i>
- located under
- <i>${jetspeed-source-home}/components/security/etc/</i>
- should be copied under
- <i>${jetspeed-source-home}/portal/src/webapp/WEB-INF/conf/</i>
- .
- </p>
- <subsection name="ldap.properties">
- <table>
- <tr>
- <th>Property</th>
- <th>Value</th>
- </tr>
- <tr>
- <td>org.apache.jetspeed.ldap.ldapServerName</td>
- <td>
- The LDAP server name to connect to. E.g.
- <i>localhost</i>
- </td>
- </tr>
- <tr>
- <td>org.apache.jetspeed.ldap.rootDn</td>
- <td>
- The root domain name. E.g.
- <i>cn=Manager,dc=proto,dc=dataline,dc=com</i>
- . In properties files the "=" in the value should be escaped, i.e.
- <i>cn\=Manager,dc\=proto,dc\=dataline,dc\=com</i>
- </td>
- </tr>
- <tr>
- <td>org.apache.jetspeed.ldap.rootPassword</td>
- <td>The root password.</td>
- </tr>
- <tr>
- <td>org.apache.jetspeed.ldap.rootContext</td>
- <td>
- The root context. E.g.
- <i>dc=proto,dc=dataline,dc=com</i>
- </td>
- </tr>
- <tr>
- <td>org.apache.jetspeed.ldap.defaultDnSuffix</td>
- <td>
- The default suffix. E.g.
- <i>ou=Norfolk,o=Dataline</i>
- </td>
- </tr>
- </table>
- </subsection>
- </section>
</body>
</document>
Added: portals/jetspeed-2/trunk/components/security/xdocs/ldap.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/xdocs/ldap.xml?rev=330940&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security/xdocs/ldap.xml (added)
+++ portals/jetspeed-2/trunk/components/security/xdocs/ldap.xml Fri Nov 4 14:43:28 2005
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<document>
+ <properties>
+ <title>Jetspeed 2 Security Services Configuration</title>
+ <authors>
+ <person name="David Le Strat" email="dlestrat@apache.org" />
+ <person name="Ate Douma" email="ate@douma.nu" />
+ </authors>
+ </properties>
+ <body>
+
+ <section name="LDAP Configuration">
+ <p>
+ Jetspeed 2 provides LDAP support for authentication. Configuring LDAP authentication can be done by replacing the configuration files located
+ under
+ <i>${jetspeed-source-home}/portal/src/webapp/WEB-INF/assembly/</i>
+ by the files located under as indicated
+ <i>${jetspeed-source-home}/components/security/etc/</i>
+ . below.
+ </p>
+ <p>
+ Jetspeed 2
+ <b>does not currently provide an embedded LDAP directory</b>
+ . A external LDAP directory must be configured in order to leverage this functionality.
+ </p>
+ <p>
+ <i>security-spi-atn.xml</i>
+ should be replaced by
+ <i>security-spi-ldap-atn.xml</i>
+ and
+ <i>security-spi-ldap.xml</i>
+ should be copied to the assembly directory as well.
+ </p>
+ <p>
+ The
+ <i>security-spi-ldap-atn.xml</i>
+ preforms the same functions as the
+ <i>security-spi-atn.xml</i>
+ described above. It replaces the default implementation for
+ <i>CredentialHandler</i>
+ and
+ <i>UserSecurityHandler</i>
+ with an LDAP specific implementation.
+ </p>
+ <p>
+ Additionally,
+ <i>ldap.properties</i>
+ located under
+ <i>${jetspeed-source-home}/components/security/etc/</i>
+ should be copied under
+ <i>${jetspeed-source-home}/portal/src/webapp/WEB-INF/conf/</i>
+ .
+ </p>
+ <subsection name="ldap.properties">
+ <table>
+ <tr>
+ <th>Property</th>
+ <th>Value</th>
+ </tr>
+ <tr>
+ <td>org.apache.jetspeed.ldap.ldapServerName</td>
+ <td>
+ The LDAP server name to connect to. E.g.
+ <i>localhost</i>
+ </td>
+ </tr>
+ <tr>
+ <td>org.apache.jetspeed.ldap.rootDn</td>
+ <td>
+ The root domain name. E.g.
+ <i>cn=Manager,dc=proto,dc=dataline,dc=com</i>
+ . In properties files the "=" in the value should be escaped, i.e.
+ <i>cn\=Manager,dc\=proto,dc\=dataline,dc\=com</i>
+ </td>
+ </tr>
+ <tr>
+ <td>org.apache.jetspeed.ldap.rootPassword</td>
+ <td>The root password.</td>
+ </tr>
+ <tr>
+ <td>org.apache.jetspeed.ldap.rootContext</td>
+ <td>
+ The root context. E.g.
+ <i>dc=proto,dc=dataline,dc=com</i>
+ </td>
+ </tr>
+ <tr>
+ <td>org.apache.jetspeed.ldap.defaultDnSuffix</td>
+ <td>
+ The default suffix. E.g.
+ <i>ou=Norfolk,o=Dataline</i>
+ </td>
+ </tr>
+ </table>
+ </subsection>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Modified: portals/jetspeed-2/trunk/components/security/xdocs/navigation.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/xdocs/navigation.xml?rev=330940&r1=330939&r2=330940&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/security/xdocs/navigation.xml (original)
+++ portals/jetspeed-2/trunk/components/security/xdocs/navigation.xml Fri Nov 4 14:43:28 2005
@@ -37,6 +37,7 @@
</item>
<item name="High Level Security Services" href="high-level-services.html" />
<item name="Security Services Configuration" href="config.html" />
+ <item name="LDAP Configuration" href="ldap.html" />
</menu>
<menu name="Misc.">
<item name="Tasks" href="tasks.html" />
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org