From f9a9420f3e2bbc965b0c0dd43c0619280bf92089 Mon Sep 17 00:00:00 2001 From: Mark Craig <mark.craig@forgerock.com> Date: Thu, 28 May 2015 11:03:20 +0000 Subject: [PATCH] CR-7085 OPENDJ-2003 Fix SDK dev guide links to sample code --- src/main/docbkx/dev-guide/chap-authenticating.xml | 41 +++++++++++++++++++++++------------------ 1 files changed, 23 insertions(+), 18 deletions(-) diff --git a/src/main/docbkx/dev-guide/chap-authenticating.xml b/src/main/docbkx/dev-guide/chap-authenticating.xml index a50223d..5b49966 100644 --- a/src/main/docbkx/dev-guide/chap-authenticating.xml +++ b/src/main/docbkx/dev-guide/chap-authenticating.xml @@ -9,8 +9,7 @@ ! or send a letter to Creative Commons, 444 Castro Street, ! Suite 900, Mountain View, California, 94041, USA. ! - ! You can also obtain a copy of the license at - ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt. + ! You can also obtain a copy of the license at legal-notices/CC-BY-NC-ND.txt. ! See the License for the specific language governing permissions ! and limitations under the License. ! @@ -20,7 +19,7 @@ ! ! CCPL HEADER END ! - ! Copyright 2011-2014 ForgeRock AS + ! Copyright 2011-2015 ForgeRock AS. ! --> <chapter xml:id='chap-authenticating' @@ -78,11 +77,13 @@ no doubt with fewer rights than the normal user, and surely fewer rights than an administrator.</para> - <para>For a complete example in context, see <link - xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/SimpleAuth.html" - xlink:show="new">SimpleAuth.java</link>, one of the <link - xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/" - xlink:show="new">OpenDJ LDAP SDK examples</link>.</para> + <para> + For a complete example in context, see + <link + xlink:href="../resources/org/forgerock/opendj/examples/SimpleAuth.java" + xlink:show="new" + >SimpleAuth.java</link>. + </para> </section> <section xml:id="simple-auth-with-starttls-or-ssl"> @@ -130,11 +131,13 @@ <programlisting language="java" >[jcp:org.forgerock.opendj.examples.SimpleAuth:--- JCite secure connect ---]</programlisting> - <para>For a complete example in context, see <link - xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/SimpleAuth.html" - xlink:show="new">SimpleAuth.java</link>, one of the <link - xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/" - xlink:show="new">OpenDJ LDAP SDK examples</link>.</para> + <para> + For a complete example in context, see + <link + xlink:href="../resources/org/forgerock/opendj/examples/SimpleAuth.java" + xlink:show="new" + >SimpleAuth.java</link>. + </para> </section> <section xml:id="sasl-auth"> @@ -198,10 +201,12 @@ <literal>uid</literal> values. If you use another directory server, you might have to configure how it maps user IDs to user entries.</para> - <para>For a complete example in context, see <link - xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/SASLAuth.html" - xlink:show="new">SASLAuth.java</link>, one of the <link - xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/" - xlink:show="new">OpenDJ LDAP SDK examples</link>.</para> + <para> + For a complete example in context, see + <link + xlink:href="../resources/org/forgerock/opendj/examples/SASLAuth.java" + xlink:show="new" + >SASLAuth.java</link>. + </para> </section> </chapter> -- Gitblit v1.10.0