Author: smumford
Date: 2011-04-27 02:26:46 -0400 (Wed, 27 Apr 2011)
New Revision: 6354
Added:
epp/docs/branches/5.1/Reference_Guide/en-US/extras/Authentication_Identity_LDAP/default-ldap.xml
Modified:
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/Foundations.xml
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/JCR/configuration.xml
epp/docs/branches/5.1/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortalDevelopment/JavascriptInterApplicationCommunication.xml
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortletDevelopment/Standard.xml
Log:
Add LDAP config example file and general spellcheck fixes
Added:
epp/docs/branches/5.1/Reference_Guide/en-US/extras/Authentication_Identity_LDAP/default-ldap.xml
===================================================================
---
epp/docs/branches/5.1/Reference_Guide/en-US/extras/Authentication_Identity_LDAP/default-ldap.xml
(rev 0)
+++
epp/docs/branches/5.1/Reference_Guide/en-US/extras/Authentication_Identity_LDAP/default-ldap.xml 2011-04-27
06:26:46 UTC (rev 6354)
@@ -0,0 +1,31 @@
+<repository>
+ <id>PortalRepository</id>
+
<class>org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>HibernateStore</default-identity-store-id>
+ <default-attribute-store-id>HibernateStore</default-attribute-store-id>
+ <identity-store-mappings>
+ <identity-store-mapping>
+ <identity-store-id>PortalLDAPStore</identity-store-id>
+ <identity-object-types>
+ <identity-object-type>USER</identity-object-type>
+ <identity-object-type>platform_type</identity-object-type>
+ <identity-object-type>organization_type</identity-object-type>
+ </identity-object-types>
+ <options/>
+ </identity-store-mapping>
+ </identity-store-mappings>
+ <options>
+ <option>
+ <name>allowNotDefinedAttributes</name>
+ <value>true</value>
+ </option>
+ </options>
+ </repository>
+ <repository>
+ <id>DefaultPortalRepository</id>
+
<class>org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository</class>
+ <external-config/>
+ <default-identity-store-id>HibernateStore</default-identity-store-id>
+ <default-attribute-store-id>HibernateStore</default-attribute-store-id>
+ </repository>
\ No newline at end of file
Modified: epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/Foundations.xml
===================================================================
---
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/Foundations.xml 2011-04-27
06:25:29 UTC (rev 6353)
+++
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/Foundations.xml 2011-04-27
06:26:46 UTC (rev 6354)
@@ -418,7 +418,7 @@
A servlet in this instance should extend the
<literal>org.exoplatform.container.web.AbstractHttpServlet</literal> class so
as to properly initialize the current <literal>PortalContainer</literal>.
</para>
<para>
- This will also set the current thread's context classloader to one that looks for
resources in associated web applications in the order specified by the <emphasis
role="bold">dependencies</emphasis> configuration (as seen in <xref
linkend="sect-Reference_Guide-Foundations-The_Extension_Mechanism_and_Portal_Extensions"
/>).
+ This will also set the current thread's context Classloader to one that looks for
resources in associated web applications in the order specified by the <emphasis
role="bold">dependencies</emphasis> configuration (as seen in <xref
linkend="sect-Reference_Guide-Foundations-The_Extension_Mechanism_and_Portal_Extensions"
/>).
</para>
<para>
Filter classes need to extend the
<literal>org.exoplatform.container.web.AbstractFilter</literal>.
@@ -450,7 +450,7 @@
<programlisting language="Java" role="Java"><xi:include
href="../../extras/Advanced_Development_Foundations/default11.java"
parse="text"
xmlns:xi="http://www.w3.org/2001/XInclude"
/></programlisting>
<para>
- If this method returns <emphasis>true</emphasis> the current thread's
context classloader is set up according to the <emphasis
role="bold">dependencies</emphasis> configuration and availability of
the associated web applications.
+ If this method returns <emphasis>true</emphasis> the current thread's
context Classloader is set up according to the <emphasis
role="bold">dependencies</emphasis> configuration and availability of
the associated web applications.
</para>
<para>
If it returns <emphasis>false</emphasis> the standard application
separation rules are used for resource loading (effectively turning off the extension
mechanism).
Modified:
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/JCR/configuration.xml
===================================================================
---
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/JCR/configuration.xml 2011-04-27
06:25:29 UTC (rev 6353)
+++
epp/docs/branches/5.1/Reference_Guide/en-US/modules/Advanced/JCR/configuration.xml 2011-04-27
06:26:46 UTC (rev 6354)
@@ -79,17 +79,17 @@
<itemizedlist>
<listitem>
<para>
- <emphasis role="bold">K</emphasis> or
<emphasis role="bold">KB</emphasis> for kiloBytes.
+ <emphasis role="bold">K</emphasis> or
<emphasis role="bold">KB</emphasis> for kilobytes.
</para>
</listitem>
<listitem>
<para>
- <emphasis role="bold">M</emphasis> or
<emphasis role="bold">MB</emphasis> for megaBytes.
+ <emphasis role="bold">M</emphasis> or
<emphasis role="bold">MB</emphasis> for megabytes.
</para>
</listitem>
<listitem>
<para>
- <emphasis role="bold">G</emphasis> or
<emphasis role="bold">GB</emphasis> for gigaBytes.
+ <emphasis role="bold">G</emphasis> or
<emphasis role="bold">GB</emphasis> for gigabytes.
</para>
</listitem>
<listitem>
Modified:
epp/docs/branches/5.1/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
===================================================================
---
epp/docs/branches/5.1/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2011-04-27
06:25:29 UTC (rev 6353)
+++
epp/docs/branches/5.1/Reference_Guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2011-04-27
06:26:46 UTC (rev 6354)
@@ -738,7 +738,7 @@
</step>
<step>
<para>
- The user then launches a web browser to access a web application (that uses JBoss
Negotiation) hosted on JBoss EPP.
+ The user then launches a web browser to access a web application (that
uses JBoss Negotiation) hosted on JBoss Enterprise Portal Platform.
</para>
</step>
<step>
Modified:
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortalDevelopment/JavascriptInterApplicationCommunication.xml
===================================================================
---
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortalDevelopment/JavascriptInterApplicationCommunication.xml 2011-04-27
06:25:29 UTC (rev 6353)
+++
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortalDevelopment/JavascriptInterApplicationCommunication.xml 2011-04-27
06:26:46 UTC (rev 6354)
@@ -54,55 +54,6 @@
</variablelist>
</section>
-
- <!--
-<section
-id="sect-Reference_Guide-JavaScript_Inter_Application_Communication-GateInportalchangeTitle">
-<title>/GateIn/portal/changeTitle (not
-implemented yet)</title>
-<para>
-Send a message on this channel to change (and to be notified) the title
-of the portal.
-</para>
-</section>
-
-<section
-id="sect-Reference_Guide-JavaScript_Inter_Application_Communication-GateInportalpageLoaded">
-<title>/GateIn/portal/pageLoaded (not
-implemented yet)</title>
-<para>
-Receive a message when a page is loaded.
-</para>
-</section>
-
-<section
-id="sect-Reference_Guide-JavaScript_Inter_Application_Communication-GateInportalpageUnloaded">
-<title>/eXo/portal/pageUnloaded (not
-implemented yet)</title>
-<para>
-Receive a message when a page is unloaded.
-</para>
-</section>
-
-<section
-id="sect-Reference_Guide-JavaScript_Inter_Application_Communication-GateInapplicationapplicationLoaded">
-<title>/eXo/application/applicationLoaded
-(not implemented yet)</title>
-<para>
-Receive a message when an application is loaded in the page.
-</para>
-</section>
-
-<section
-id="sect-Reference_Guide-JavaScript_Inter_Application_Communication-GateInapplicationapplicationUnloaded">
-<title>/eXo/application/applicationUnloaded
-(not implemented yet)</title>
-<para>
-Receive a message when an application is unloaded in the page.
-</para>
-</section>
-
- -->
<section
id="sect-Reference_Guide-JavaScript_Inter_Application_Communication-Library">
<title>Library</title>
<para>
@@ -110,37 +61,7 @@
</para>
<programlisting language="Java" role="Java"><xi:include
href="../../extras/PortalDevelopment_JavascriptInterApplicationCommunication/default155.java"
parse="text"
xmlns:xi="http://www.w3.org/2001/XInclude"
/></programlisting>
- <!-- <programlisting>/**
-* publish is used to publish an event to the other subscribers to the given channels
-* @param {Object} senderId is a string that identify the sender
-* @param {String} topic is the topic that the message will be published
-* @param {Object} message is the message that's going to be delivered to the
subscribers to the topic
-*/
-Topic.prototype.publish = function(/*Object*/ senderId, /*String*/ topicName, /*Object*/
message ) { ... }
-/**
-* isSubscribed is used to check if a function receive the events from a topic
-* @param {String} topic The topic.
-* @param {Function} func is the name of the function of obj to call when a message is
received on the topic
-*/
-Topic.prototype.isSubscribed = function(/*String*/ topic, /*Function*/ func) { ... }
-/**
-* subscribe is used to subscribe a callback to a topic
-* @param {String} topic is the topic that will be listened
-* @param {Function} func is the name of the function of obj to call when a message is
received on the topic
-*
-* func is a function that take a Object in parameter. the event received have this
format:
-* {senderId:senderId, message:message, topic: topic}
-*
-*/
-Topic.prototype.subscribe = function(/*String*/ topic, /*Function*/ func) { ... }
-/**
-* unsubscribe is used to unsubscribe a callback to a topic
-* @param {String} topic is the topic
-* @param {Object} id is the id of the listener we want to unsubscribe
-*/
-Topic.prototype.unsubscribe = function(/*String*/ topic, /*Object*/ id) { ... }
-Topic.prototype.initCometdBridge = function() { ... }
-</programlisting> -->
+
</section>
@@ -251,43 +172,7 @@
<title>Example of Javascript events usage</title>
<programlisting language="XML" role="XML"><xi:include
href="../../extras/PortalDevelopment_JavascriptInterApplicationCommunication/default157.xml"
parse="text"
xmlns:xi="http://www.w3.org/2001/XInclude"
/></programlisting>
- <!-- <programlisting language="HTML"
role="HTML"><![CDATA[<%@ taglib
uri="http://java.sun.com/portlet" prefix="portlet" %>
-<portlet:defineObjects/>
-<div>
-<p>
-Received messages:
-<div id="received_<portlet:namespace/>">
-</div>
-</p>
-<p>
-Send message:
-<input type="text" id="msg_<portlet:namespace/>"/> <a
href="#"
onclick="send_<portlet:namespace/>();">send</a>
-</p>
-</div>
-<script type="text/javascript">
-Function.prototype.bind = function(object) {
-var method = this;
-return function() {
-method.apply(object, arguments);
-}
-}
-function send_<portlet:namespace/>() {
-var msg = document.getElementById("msg_<portlet:namespace/>").value;
-eXo.core.Topic.publish("<portlet:namespace/>", "/demo", msg);
-}
-function Listener_<portlet:namespace/>(){
-}
-Listener_<portlet:namespace/>.prototype.receiveMsg = function(event) {
-document.getElementById("received_<portlet:namespace/>").innerHTML =
-document.getElementById("received_<portlet:namespace/>").innerHTML +
"<br />* " +
-event.senderId + ": " + event.message;
-}
-function init_<portlet:namespace/>() {
-var listener_<portlet:namespace/> = new Listener_<portlet:namespace/>();
-eXo.core.Topic.subscribe("/demo",
listener_<portlet:namespace/>.receiveMsg.bind(listener_<portlet:namespace/>));
-}
-init_<portlet:namespace/>();
-</script>]]></programlisting> -->
+
</section>
</chapter>
Modified:
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortletDevelopment/Standard.xml
===================================================================
---
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortletDevelopment/Standard.xml 2011-04-27
06:25:29 UTC (rev 6353)
+++
epp/docs/branches/5.1/Reference_Guide/en-US/modules/PortletDevelopment/Standard.xml 2011-04-27
06:26:46 UTC (rev 6354)
@@ -501,7 +501,7 @@
<calloutlist>
<callout
arearefs="area-Reference_Guide-JavaServer_Pages_Portlet_Example-Portlet_Class.processAction">
<para>
- <literal>processAction</literal> is the method from
<literal>GenericPorlet</literal> to override for the
<emphasis>action</emphasis> phase.
+ <literal>processAction</literal> is the method from
<literal>GenericPortlet</literal> to override for the
<emphasis>action</emphasis> phase.
</para>
</callout>
<callout
arearefs="area-Reference_Guide-JavaServer_Pages_Portlet_Example-Portlet_Class.getActionParameter">