[jboss-cvs] JBossAS SVN: r88952 - in projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal: src/main/java/org/jboss/security/negotiation/portal and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri May 15 13:21:59 EDT 2009


Author: darran.lofthouse at jboss.com
Date: 2009-05-15 13:21:59 -0400 (Fri, 15 May 2009)
New Revision: 88952

Added:
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/main/java/org/jboss/security/negotiation/portal/NegotiationUserModuleImpl.java
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/cms/
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/cms/jboss-service.xml
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/default-object.xml
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/jboss-service.xml
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/negotiation_identity-config.xml
Modified:
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/build.xml
   projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/login-config.xml
Log:
Further portal integration.

Modified: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/build.xml
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/build.xml	2009-05-15 15:24:56 UTC (rev 88951)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/build.xml	2009-05-15 17:21:59 UTC (rev 88952)
@@ -26,7 +26,19 @@
           todir="${jboss.server.dir}/deploy/jboss-portal-exploded.sar/portal-server.war/WEB-INF" />
     <!-- Replace the portal login-config.xml -->
     <copy file="${resources.dir}/portal/login-config.xml" 
-              todir="${jboss.server.dir}/deploy/jboss-portal-exploded.sar/conf" />        
+              todir="${jboss.server.dir}/deploy/jboss-portal-exploded.sar/conf" />
+    <!-- Copy the negotiation identity-config.xml -->
+    <copy file="${resources.dir}/portal/negotiation_identity-config.xml" 
+                  todir="${jboss.server.dir}/deploy/jboss-portal-exploded.sar/conf/identity" />
+    <!-- Copy changes to use new config -->
+    <copy file="${resources.dir}/portal/jboss-service.xml" 
+                      todir="${jboss.server.dir}/deploy/jboss-portal-exploded.sar/META-INF" />
+    <!-- Update CMS user to a valid user -->
+    <copy file="${resources.dir}/portal/cms/jboss-service.xml" 
+                      todir="${jboss.server.dir}/deploy/portal-cms.sar/META-INF" />    
+    <!-- Give the role PortalAdmin admin access -->
+    <copy file="${resources.dir}/portal/default-object.xml" 
+                      todir="${jboss.server.dir}/deploy/jboss-portal-exploded.sar/data" />    
     <!-- Copy portal specific jar. -->
     <copy file="${target.dir}/jboss-negotiation-portal.jar"
           todir="${jboss.server.dir}/lib" />

Added: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/main/java/org/jboss/security/negotiation/portal/NegotiationUserModuleImpl.java
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/main/java/org/jboss/security/negotiation/portal/NegotiationUserModuleImpl.java	                        (rev 0)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/main/java/org/jboss/security/negotiation/portal/NegotiationUserModuleImpl.java	2009-05-15 17:21:59 UTC (rev 88952)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * 
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.security.negotiation.portal;
+
+import org.apache.log4j.Logger;
+import org.ietf.jgss.GSSContext;
+import org.jboss.portal.identity.IdentityException;
+import org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl;
+import org.jboss.portal.identity.ldap.LDAPUserImpl;
+import org.jboss.security.negotiation.common.NegotiationContext;
+
+/**
+ * An extension of the LDAPExtUserModuleImpl to integrate with
+ * JBoss Portal.
+ * 
+ * This implementation overrides validatePassword to verify that 
+ * GSSAPI negotiation has taken place.
+ * 
+ * @author darran.lofthouse at jboss.com
+ * @version $Revision$
+ */
+public class NegotiationUserModuleImpl extends LDAPExtUserModuleImpl
+{
+
+   private static final Logger log = Logger.getLogger(NegotiationUserModuleImpl.class);
+
+   @Override
+   public boolean validatePassword(LDAPUserImpl user, String password) throws IdentityException
+   {
+      NegotiationContext negotiationContext = NegotiationContext.getCurrentNegotiationContext();
+      Object schemeContext = negotiationContext.getSchemeContext();
+      if (schemeContext != null && schemeContext instanceof GSSContext == false)
+      {
+         throw new IllegalStateException("The schemeContext is not a GSSContext");
+      }
+
+      GSSContext gssContext = (GSSContext) schemeContext;
+      if (gssContext.isEstablished() == true)
+      {
+         log.info("gssContext.isEstablished()==true, no further password verification required.");
+
+         return true;
+      }
+
+      log.info("gssContext.isEstablished()==true, falling back to default password verification.");
+      return super.validatePassword(user, password);
+   }
+
+}


Property changes on: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/main/java/org/jboss/security/negotiation/portal/NegotiationUserModuleImpl.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/cms/jboss-service.xml
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/cms/jboss-service.xml	                        (rev 0)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/cms/jboss-service.xml	2009-05-15 17:21:59 UTC (rev 88952)
@@ -0,0 +1,675 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <!--  Management MBean -->
+   <!-- Unused, the bean doesn't bring any interesting value -->
+   <!--
+   <mbean
+      code="org.jboss.portal.cms.management.CMSImpl"
+      name="portal.management:service=Management,type=CMS,name=Default"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <depends
+         optional-attribute-name="CMS"
+         proxy-type="attribute">portal:service=CMS</depends>
+      <xmbean/>
+   </mbean>
+   -->
+
+   <mbean
+      code="org.jboss.portal.jems.hibernate.SessionFactoryBinder"
+      name="portal:service=Hibernate,type=CMS"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/cms/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/cms/CMSSessionFactory</attribute>
+   </mbean>  
+   
+   <mbean
+      code="org.jboss.portal.cms.impl.jcr.JCRCMS"
+      name="portal:service=CMS"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!-- The datasource hibernate depends on, it can be commented when the file store is used -->
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <depends>portal:service=JAASLoginModule</depends>
+      <depends>portal:service=Hibernate,type=CMS</depends>
+      <depends>cms.pm.cache:service=TreeCache</depends>
+      <depends optional-attribute-name="AuthorizationManager" proxy-type="attribute">portal:service=AuthorizationManager,type=cms</depends>
+      <!-- Add this to activate publish/approval workflow integration -->
+      <!--
+      <depends optional-attribute-name="ApprovePublishWorkflow" proxy-type="attribute">portal:service=ApprovePublish,type=Workflow</depends>
+      -->
+      <depends optional-attribute-name="StackFactory" proxy-type="attribute">portal:service=InterceptorStackFactory,type=Cms</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="DefaultContentLocation">portal/cms/conf/default-content/default/</attribute>
+      <attribute name="DefaultLocale">en</attribute>
+      <attribute name="RepositoryName">PortalRepository</attribute>
+      <attribute name="HomeDir">${jboss.server.data.dir}${/}portal${/}cms${/}conf</attribute>
+      <attribute name="CmsSessionFactory">java:/portal/cms/CMSSessionFactory</attribute>      
+      <attribute name="Config">
+         <Repository>
+            <!--
+               | virtual file system where the repository stores global state (e.g. registered namespaces, custom node types, etc.)
+               | Configure to use FS or RDBMS.
+               -->
+
+            <!-- HibernateStore: uses RDBMS + Hibernate for storage -->
+            <FileSystem class="org.jboss.portal.cms.hibernate.HibernateStore">
+               <param name="schemaObjectPrefix" value="RepositoryEntry"/>
+               <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+            </FileSystem>
+
+            <!-- LocalFileSystem: uses FileSystem for storage. -->
+            <!--
+            <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+               <param name="path" value="${rep.home}/repository"/>
+            </FileSystem>
+            -->
+            <Security appName="Jackrabbit">
+               <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager"/>
+               <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
+                  <!-- anonymous user name ('anonymous' is the default value) -->
+                  <param name="anonid" value="anonymous"/>
+               </LoginModule>
+            </Security>
+            <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
+            <Workspace name="${wsp.name}">
+               <!-- Virtual file system of the workspace:  Configure to use FS or RDBMS. -->
+
+               <!-- HibernateStore: uses RDBMS + Hibernate for storage -->
+               <FileSystem class="org.jboss.portal.cms.hibernate.HibernateStore">
+                  <param name="schemaObjectPrefix" value="CMSEntry"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+               </FileSystem>
+               <!-- LocalFileSystem: uses FileSystem for storage. -->
+               <!--<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+               <param name="path" value="${wsp.home}"/>
+               </FileSystem>-->
+
+               <!--
+                   persistence manager of the workspace.
+                   Use XMLPersistenceManager for LocalFileSystem Store and JBossCachePersistenceManager .
+               -->
+
+               <!-- HibernatePersistentManager: uses RDBMS + Hibernate for storage -->
+               <PersistenceManager class="org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager">
+                  <param name="schemaObjectPrefix" value="WSP"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+                  <param name="externalBLOBs" value="false"/>
+               </PersistenceManager>
+
+               <!-- XMLPersistenceManager: uses FileSystem for storage -->
+               <!--<PersistenceManager class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>-->
+
+               <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+	      		<param name="path" value="${wsp.home}/index"/>
+	      		<param name="textFilterClasses" value="org.apache.jackrabbit.extractor.HTMLTextExtractor"/>
+	      		<param name="useCompoundFile" value="true"/>
+	      		<param name="minMergeDocs" value="100"/>
+	      		<param name="volatileIdleTime" value="3"/>
+	      		<param name="maxMergeDocs" value="100000"/>
+	      		<param name="mergeFactor" value="10"/>
+	      		<param name="bufferSize" value="10"/>
+	      		<param name="cacheSize" value="1000"/>
+	      		<param name="forceConsistencyCheck" value="false"/>
+	      		<param name="autoRepair" value="true"/>
+       		   </SearchIndex>
+            </Workspace>
+            <Versioning rootPath="${rep.home}/versions">
+               <!--
+                   Configures the filesystem to use for versioning for the respective persistence manager
+                   Configure to use FS or RDBMS.
+               -->
+
+               <!-- HibernateStore: uses RDBMS + Hibernate for storage -->
+               <FileSystem class="org.jboss.portal.cms.hibernate.HibernateStore">
+                  <param name="schemaObjectPrefix" value="VersionEntry"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+               </FileSystem>
+
+               <!-- LocalFileSystem: uses FileSystem for storage. -->
+               <!--
+               <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+                <param name="path" value="${rep.home}/versions"/>
+               </FileSystem>
+               -->
+
+               <!--
+                   Configures the persistence manager to be used for persisting version state.
+                   Use XMLPersistenceManager for LocalFileSystem Store and JBossCachePersistenceManager for HibernateStore.
+               -->
+
+               <!-- HibernatePersistentManager: uses RDBMS + Hibernate for storage -->
+               <PersistenceManager class="org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager">
+                  <param name="schemaObjectPrefix" value="Version"/>
+                  <param name="JNDIName" value="java:/portal/cms/CMSSessionFactory"/>
+                  <param name="externalBLOBs" value="false"/>
+               </PersistenceManager>
+
+               <!-- XMLPersistenceManager: uses FileSystem for storage -->
+               <!--<PersistenceManager class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>-->
+            </Versioning>
+         </Repository>
+      </attribute>
+      <attribute name="JNDIName">java:portal/CMS</attribute>
+   </mbean>
+
+   <!--
+   	| Uncomment in clustered mode : Provides an HA-singleton based clustering architecture. 
+   
+   <mbean
+      code="org.jboss.invocation.jrmp.server.JRMPProxyFactory"
+      name="portal:service=ProxyFactory,type=CMS">
+      <depends optional-attribute-name="InvokerName">jboss:service=invoker,type=jrmp</depends>
+      <attribute name="TargetName">portal:service=CMS</attribute>
+      <attribute name="ExportedInterfaces">org.jboss.portal.jems.ha.HASingletonInvokerMBean$Proxy</attribute>
+      <attribute name="InvokeTargetMethod">true</attribute>
+      <attribute name="ClientInterceptors">
+        <interceptors>
+          <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
+          <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
+        </interceptors>
+      </attribute>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.jems.ha.HASingletonInvoker"
+      name="portal:service=HASingletonInvoker,type=CMS">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <attribute name="RetryWaitingTimeMS">2000</attribute>
+      <attribute name="MaxRetries">1</attribute>
+      <attribute name="JNDIName">MyServiceInvokeTarget</attribute>
+      <attribute name="JNDIProperties">
+         java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+         java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+         java.naming.provider.url=${jboss.bind.address:localhost}:1100
+         jnp.disableDiscovery=false
+         jnp.partitionName=${jboss.partition.name:DefaultPartition}
+         jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
+         jnp.discoveryPort=1102
+         jnp.discoveryTTL=16
+         jnp.discoveryTimeout=5000
+         jnp.maxRetries=1
+      </attribute>
+      <depends optional-attribute-name="Callback" proxy-type="attribute">portal:service=CMS</depends>
+      <depends optional-attribute-name="ProxyFactory">portal:service=ProxyFactory,type=CMS</depends>
+   </mbean>
+   
+   -->
+
+   <mbean
+      code="org.jboss.portal.core.cms.CMSObjectCommandFactoryService"
+      name="portal:commandFactory=CMSObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="TargetWindowRef">default.default.CMSWindow</attribute>
+      <depends
+         optional-attribute-name="CMSService"
+         proxy-type="attribute">portal:service=CMS</depends>
+      <depends
+         optional-attribute-name="ServerConfig"
+         proxy-type="attribute">portal:service=ServerConfig</depends>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+      name="portal:commandFactory=Delegate,path=content"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/content</attribute>
+      <depends
+         optional-attribute-name="DelegatingFactory"
+         proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends
+         optional-attribute-name="DelegateFactory"
+         proxy-type="attribute">portal:commandFactory=CMSObject</depends>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.core.cms.CMSObjectURLFactory"
+      name="portal:urlFactory=CMSObject"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/content</attribute>
+      <depends optional-attribute-name="Factory" proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+
+   <!-- TreeCache configuration used to cache CMS data -->
+   <mbean code="org.jboss.cache.TreeCache"
+          name="cms.pm.cache:service=TreeCache">   
+           <depends>jboss:service=Naming</depends>
+           <depends>jboss:service=TransactionManager</depends>
+           <depends>portal:service=Hibernate,type=CMS</depends>
+      <!--
+      Configure the TransactionManager
+      -->
+      <attribute name="TransactionManagerLookupClass">org.jboss.cache.GenericTransactionManagerLookup</attribute>
+
+      <!--
+        Node locking scheme:
+        OPTIMISTIC
+        PESSIMISTIC (default)
+        using the OPTIMISTIC scheme, the ISOLATION_LEVEL value is ignored
+        -->
+      <!--attribute name="NodeLockingScheme">OPTIMISTIC</attribute-->
+
+      <!--
+          Isolation level : SERIALIZABLE
+                            REPEATABLE_READ (default)
+                            READ_COMMITTED
+                            READ_UNCOMMITTED
+                            NONE
+      -->
+      <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+
+
+      <!--
+           Valid modes are LOCAL
+                           REPL_ASYNC
+                           REPL_SYNC
+                           INVALIDATION_ASYNC
+                           INVALIDATION_SYNC
+      -->
+      <!-- in a non-HA environment with the Jackrabbit cluster is activated -->
+      <!--attribute name="CacheMode">INVALIDATION_ASYNC</attribute-->
+      <!-- in a HA environment since there is only a singleton node for CMS, this can be local -->
+      <attribute name="CacheMode">LOCAL</attribute>
+
+      <!--
+      Just used for async repl: use a replication queue
+      -->
+      <attribute name="UseReplQueue">false</attribute>
+
+      <!--
+          Replication interval for replication queue (in ms)
+      -->
+      <attribute name="ReplQueueInterval">0</attribute>
+
+      <!--
+          Max number of elements which trigger replication
+      -->
+      <attribute name="ReplQueueMaxElements">0</attribute>
+
+      <!-- Name of cluster. Needs to be the same for all clusters, in order
+           to find each other
+      -->
+      <attribute name="ClusterName">JCRPMCache</attribute>
+
+      <!-- JGroups protocol stack properties. Can also be a URL,
+           e.g. file:/home/bela/default.xml
+         <attribute name="ClusterProperties"></attribute>
+      -->
+
+      <attribute name="ClusterConfig">
+               <config>
+                   <!-- UDP: if you have a multihomed machine,
+                   set the bind_addr attribute to the appropriate NIC IP address -->
+                  <!-- UDP: On Windows machines, because of the media sense feature
+            being broken with multicast (even after disabling media sense)
+            set the loopback attribute to true -->
+                  <UDP mcast_addr="228.1.2.3" mcast_port="48866"
+                       ip_ttl="64" ip_mcast="true"
+                       receive_on_all_interfaces="true"
+                       mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
+                       ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
+                       loopback="false"/>
+                   <PING timeout="2000" num_initial_members="3"
+                         up_thread="false" down_thread="false"/>
+                   <MERGE2 min_interval="10000" max_interval="20000"/>
+                  <!--        <FD shun="true" up_thread="true" down_thread="true" />-->
+                  <FD_SOCK/>
+                   <VERIFY_SUSPECT timeout="1500"
+                                   up_thread="false" down_thread="false"/>
+                   <pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
+                                  max_xmit_size="8192" up_thread="false" down_thread="false"/>
+                   <UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"
+                            down_thread="false"/>
+                   <pbcast.STABLE desired_avg_gossip="20000"
+                                  up_thread="false" down_thread="false"/>
+                   <FRAG frag_size="8192"
+                         down_thread="false" up_thread="false"/>
+                   <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
+                               shun="true" print_local_addr="true"/>
+                   <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
+               </config>
+           </attribute>
+
+      <!--
+       Whether or not to fetch state on joining a cluster
+       NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
+
+       Not supported in version 1.2.4SP2 which is what ships by default in 4.0.4GA
+      -->
+      <!--attribute name="FetchInMemoryState">false</attribute-->
+
+      <!--
+          The max amount of time (in milliseconds) we wait until the
+          initial state (ie. the contents of the cache) are retrieved from
+          existing members in a clustered environment
+      -->
+      <attribute name="InitialStateRetrievalTimeout">20000</attribute>
+
+      <!--
+          Number of milliseconds to wait until all responses for a
+          synchronous call have been received.
+      -->
+      <attribute name="SyncReplTimeout">20000</attribute>
+
+      <!-- Max number of milliseconds to wait for a lock acquisition -->
+      <attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+      <!-- Name of the eviction policy class. -->
+      <attribute name="EvictionPolicyClass"></attribute>
+
+      <!--
+         Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
+         class loader, e.g., inside an application server. Default is "false".
+
+         Not supported in version 1.2.4SP2 which is what ships by default in 4.0.4GA
+      -->
+      <!--attribute name="UseRegionBasedMarshalling">false</attribute-->
+
+      <!--
+            Configuring the PortalCMSCacheLoader
+
+            CacheLoader configuratoon for 1.4.0
+      -->
+      <attribute name="CacheLoaderConfiguration">
+               <config>                
+                   <passivation>false</passivation>
+                   <preload></preload>
+                   <shared>false</shared>
+                   <cacheloader>
+                       <class>org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader</class>
+                       <properties>
+                       	cmsSessionFactory=java:/portal/cms/CMSSessionFactory
+                       </properties>
+                       <async>false</async>
+                       <fetchPersistentState>false</fetchPersistentState>
+                       <ignoreModifications>false</ignoreModifications>
+                   </cacheloader>
+               </config>
+           </attribute>
+      <!--
+            Configuring the PortalCMSCacheLoader
+
+            CacheLoader configuratoon for 1.2.4SP2
+      -->
+      <!--attribute name="CacheLoaderClass">org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader</attribute>
+     <attribute name="CacheLoaderConfig" replace="false"></attribute>
+     <attribute name="CacheLoaderPassivation">false</attribute>
+     <attribute name="CacheLoaderPreload"></attribute>
+     <attribute name="CacheLoaderShared">false</attribute>
+     <attribute name="CacheLoaderFetchTransientState">false</attribute>
+     <attribute name="CacheLoaderFetchPersistentState">false</attribute>
+     <attribute name="CacheLoaderAsynchronous">false</attribute-->
+    </mbean>
+
+   <!--  interceptor factory where all cms interceptors are registered -->
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+      name="portal:service=InterceptorStackFactory,type=Cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Cms,name=ACL</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Cms,name=ApprovalWorkflow</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- CMS Authorization Security Service -->
+   <mbean
+      code="org.jboss.portal.cms.security.AuthorizationManagerImpl"
+      name="portal:service=AuthorizationManager,type=cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="JNDIName">java:portal/cms/AuthorizationManager</attribute>  
+      <depends optional-attribute-name="Provider" proxy-type="attribute">
+      	portal:service=AuthorizationProvider,type=cms
+      </depends>         
+   </mbean>   
+   <mbean
+      code="org.jboss.portal.cms.security.AuthorizationProviderImpl"
+      name="portal:service=AuthorizationProvider,type=cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/> 
+      <!--
+      	NOTE: cmsRootUserName denotes a single Portal user that has access to everything in the CMS. Denote this user
+      	carefully and should be synonymous to the 'root' user in a Unix system. By default: this value is the built-in
+      	'admin' user account. This can be changed to any other user account registered in your Portal
+      -->
+      <attribute name="CmsRootUserName">searchuser at vm104.gsslab.rdu.redhat.com</attribute> 
+      <attribute name="CmsSessionFactory">java:/portal/cms/CMSSessionFactory</attribute> 
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">portal:service=Module,type=IdentityServiceController</depends>     
+   </mbean>
+
+   <!-- ACL Security Interceptor -->
+   <mbean
+      code="org.jboss.portal.cms.impl.interceptors.ACLInterceptor"
+      name="portal:service=Interceptor,type=Cms,name=ACL"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="JNDIName">java:/portal/cms/ACLInterceptor</attribute>
+      <attribute name="CmsSessionFactory">java:/portal/cms/CMSSessionFactory</attribute>
+      <attribute name="IdentitySessionFactory">java:/portal/IdentitySessionFactory</attribute>
+      <attribute name="DefaultPolicy">
+      	<![CDATA[
+      	<policy>
+      			<!-- permissions on the root cms node -->      			
+      			<criteria name="path" value="/">
+      				<permission name="cms" action="read">
+      					<role name="Anonymous"/>
+      				</permission>
+      				<permission name="cms" action="write">
+      					<role name="User"/>
+      				</permission>
+      				<permission name="cms" action="manage">
+      					<role name="PortalAdmin"/>
+      				</permission>
+      			</criteria>
+      			<!-- permissions on the default cms node -->      			
+      			<criteria name="path" value="/default">
+      				<permission name="cms" action="read">
+      					<role name="Anonymous"/>
+      				</permission>
+      				<permission name="cms" action="write">
+      					<role name="User"/>
+      				</permission>
+      				<permission name="cms" action="manage">
+      					<role name="PortalAdmin"/>
+      				</permission>
+      			</criteria>      			
+      			<!-- permissions on the private/protected node -->
+      			<criteria name="path" value="/default/private">
+      				<permission name="cms" action="manage">
+      					<role name="PortalAdmin"/>
+      				</permission>
+      			</criteria>
+      	</policy>
+      	]]>
+      </attribute>
+      <depends optional-attribute-name="AuthorizationManager" proxy-type="attribute">
+      	portal:service=AuthorizationManager,type=cms
+      </depends>            
+      <depends>portal:service=Hibernate,type=CMS</depends>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>      
+   </mbean>
+
+   <!-- Approval Workflow Interceptor -->
+   <mbean
+      code="org.jboss.portal.cms.impl.interceptors.ApprovalWorkflowInterceptor"
+      name="portal:service=Interceptor,type=Cms,name=ApprovalWorkflow"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>    
+      <attribute name="JNDIName">java:/portal/cms/ApprovalWorkflowInterceptor</attribute>              
+      <depends>portal:service=Hibernate,type=CMS</depends>      
+   </mbean>
+   
+   <mbean
+      code="org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor"
+      name="portal:service=Interceptor,type=Server,name=CMSIdentityBinding"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <mbean
+      code="org.jboss.portal.server.impl.invocation.JBossInterceptorRegistration"
+      name="portal:service=InterceptorRegistration,type=Server,name=CMSIdentityBinding"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="InterceptorName">portal:service=Interceptor,type=Server,name=CMSIdentityBinding</depends>
+      <depends
+         optional-attribute-name="StackFactory">portal:service=InterceptorStackFactory,type=Server</depends>
+   </mbean>
+
+   <!-- Content renderer integration -->
+   <mbean
+      code="org.jboss.portal.core.cms.content.InternalCMSContentProvider"
+      name="portal:service=ContentRenderer,type=cms"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ContentType">cms</attribute>
+      <attribute name="DecorateContent">false</attribute>
+      <attribute name="PortletInstanceName">CMSPortletInstance</attribute>
+      <depends
+         optional-attribute-name="Registry"
+         proxy-type="attribute">portal:service=ContentProviderRegistry</depends>
+      <depends
+         optional-attribute-name="CommandFactory"
+         proxy-type="attribute">portal:commandFactory=CMSObject</depends>
+      <depends
+         optional-attribute-name="PortalAuthorizationManagerFactory"
+         proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
+      <depends
+         optional-attribute-name="InstanceContainer"
+         proxy-type="attribute">portal:container=Instance</depends>
+   </mbean>
+
+   <!-- ApprovePublish workflow service -->
+   <mbean
+      code="org.jboss.portal.cms.workflow.ApprovePublishImpl"
+      name="portal:service=ApprovePublish,type=Workflow"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="WorkflowService" proxy-type="attribute">
+      	portal:service=Workflow,type=WorkflowService
+      </depends>
+      <depends optional-attribute-name="IdentityServiceController" proxy-type="attribute">
+      	portal:service=Module,type=IdentityServiceController
+      </depends>
+      <!-- JBPM process definition -->
+      <attribute name="Process">
+      	<![CDATA[      	     
+  	         <!-- cms approval workflow -->
+  	   		 <process-definition name="approval_workflow">
+		      <start-state>
+		      	<transition to="request_approval"/>			      		
+		        </start-state>
+		        <task-node name="request_approval" signal="first">
+		          <task name="approve_publish">
+		            <assignment class="org.jboss.portal.cms.workflow.PublishAssignmentHandler"/>
+		            <event type="task-start">
+		            	<action class="org.jboss.portal.cms.workflow.FinalizePublish"/>	
+		            </event>
+		            <exception-handler>
+		            	<action class="org.jboss.portal.cms.workflow.TaskExceptionHandler"/>	
+		            </exception-handler>
+		          </task>		          
+		          <transition name="approval" to="end"/>		          		      	  
+	              <transition name="rejection" to="end"/>	                       
+		        </task-node>			      
+		        <end-state name="end"/>		          
+		     </process-definition>		      		      			      
+      	]]>
+      </attribute>
+      <!-- 
+      		  overwrite = false creates the process first time if does not exist, for
+      	      subsequent server restarts, this process definition remains in tact
+      	          
+  	          overwrite = true creates the process first time if does not exist,
+  	          for subsequent server restarts, it creates a new version of the process definition
+  	          which will be used for processes created from then onwards. Old processes created
+  	          for an older version of the definition remain in tact and use their corresponding
+  	          process definition.
+  	          
+  	          Typically use overwrite=false and overwrite=true only when a new process definition
+  	          related to this workflow needs to be deployed
+      -->
+      <attribute name="Overwrite">false</attribute>
+      <!-- 
+      		a comma separated list of portal roles that are designated
+      		to act as workflow managers. They are allowed to 
+      		approve/reject content publish requests       		      		
+      -->
+      <attribute name="ManagerRoles">Admin</attribute>
+      <attribute name="JNDIName">java:portal/ApprovePublishWorkflow</attribute>
+
+      <!-- Now that a manager GUI is integrated..no need for email based manager screen -->
+      <!--
+            <attribute name="From">do-not-reply at jboss.com</attribute>
+            <attribute name="Subject">Content Approval Requested</attribute>
+            <attribute name="Body">
+               <![CDATA[
+                    Approval is needed to publish the following Content:
+
+                    Content Location : {0}
+
+                    Content Type : {1}
+
+                    Content Size : {2}
+
+                    Creation Date : {3}
+
+                    User : {4}
+
+
+                    <a href="http://localhost/workflow/approve?pId={5}&manager={6}">Approve</a>
+
+
+                    <a href="http://localhost/workflow/reject?pId={7}&manager={8}">Reject</a>
+               ]]>
+            </attribute>
+      -->
+   </mbean>     
+   
+</server>


Property changes on: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/cms/jboss-service.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/default-object.xml
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/default-object.xml	                        (rev 0)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/default-object.xml	2009-05-15 17:21:59 UTC (rev 88952)
@@ -0,0 +1,419 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE deployments PUBLIC
+   "-//JBoss Portal//DTD Portal Object 2.6//EN"
+   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
+   
+<deployments>
+   <deployment>
+      <context>
+         <context-name/>
+         <properties>
+            <!--
+            | Set the layout for the default portal, see also portal-layouts.xml.
+            -->
+            <property>
+               <name>layout.id</name>
+               <value>generic</value>
+            </property>
+            <!--
+            | Set the theme for the default portal, see also portal-themes.xml.
+            -->
+            <property>
+               <name>theme.id</name>
+               <value>renewal</value>
+            </property>
+            <!--
+            | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
+            -->
+            <property>
+               <name>theme.renderSetId</name>
+               <value>divRenderer</value>
+            </property>
+            <!--
+            | The default portal name, if the property is not explicited then the default portal name is "default"
+            -->
+            <property>
+               <name>portal.defaultObjectName</name>
+               <value>default</value>
+            </property>
+
+            <!-- Control policy config -->
+            <property>
+               <name>control.portal.access_denied</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.unavailable</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.not_found</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.resource_uri</name>
+               <value>/WEB-INF/jsp/error/portal.jsp</value>
+            </property>
+            <property>
+               <name>control.page.access_denied</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.unavailable</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.not_found</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.resource_uri</name>
+               <value>/WEB-INF/jsp/error/page.jsp</value>
+            </property>
+         </properties>
+      </context>
+   </deployment>
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>default</portal-name>
+         <supported-modes>
+            <mode>view</mode>
+            <mode>edit</mode>
+            <mode>help</mode>
+         </supported-modes>
+         <supported-window-states>
+            <window-state>normal</window-state>
+            <window-state>minimized</window-state>
+            <window-state>maximized</window-state>
+         </supported-window-states>
+         <security-constraint>
+            <policy-permission>
+               <action-name>viewrecursive</action-name>
+               <action-name>personalizerecursive</action-name>
+               <unchecked/>
+            </policy-permission>
+         </security-constraint>
+         <coordination>
+            <wirings>
+               <implicit-mode>TRUE</implicit-mode>
+            </wirings>
+            <bindings>
+               <implicit-mode>TRUE</implicit-mode>
+            </bindings>
+         </coordination>
+         <page>
+            <page-name>default</page-name>
+            <display-name xml:lang="en">Home</display-name>
+            <display-name xml:lang="it">Home</display-name>
+            <display-name xml:lang="es">Home</display-name>
+            <display-name xml:lang="fr">Accueil</display-name>
+            <display-name xml:lang="ru">Домой</display-name>
+            <display-name xml:lang="pt_BR">Início</display-name>
+            <properties>
+               <property>
+                  <name>order</name>
+                  <value>1</value>
+               </property>
+            </properties>
+            <window>
+               <window-name>JSPPortletWindow</window-name>
+               <instance-ref>JSPPortletInstance</instance-ref>
+               <region>left</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>CMSWindow</window-name>
+               <content>
+                  <content-type>cms</content-type>
+                  <content-uri>/default/index.html</content-uri>
+               </content>
+               <region>center</region>
+               <height>1</height>
+            </window>
+            <window>
+               <window-name>IdentityUserPortletWindow</window-name>
+               <instance-ref>IdentityUserPortletInstance</instance-ref>
+               <region>left</region>
+               <height>1</height>
+            </window>
+            <window>
+               <window-name>CurrentUsersPortletWindow</window-name>
+               <instance-ref>CurrentUsersPortletInstance</instance-ref>
+               <region>left</region>
+               <height>2</height>
+            </window>
+         </page>
+      </portal>
+   </deployment>
+   <deployment>
+      <if-exists>keep</if-exists>
+      <context>
+         <context-name>dashboard</context-name>
+         <properties>
+
+            <!--
+            | Set the layout for the default portal, see also portal-layouts.xml.
+            -->
+            <property>
+               <name>layout.id</name>
+               <value>generic</value>
+            </property>
+
+            <!--
+            | Set the theme for the default portal, see also portal-themes.xml.
+            -->
+            <property>
+               <name>theme.id</name>
+               <value>renewal</value>
+            </property>
+
+            <!--
+            | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
+            -->
+            <property>
+               <name>theme.renderSetId</name>
+               <value>divRenderer</value>
+            </property>
+
+            <!--
+            | Set the dnd property
+            -->
+            <property>
+               <name>theme.dyna.dnd_enabled</name>
+               <value>true</value>
+            </property>
+
+            <!--
+            | Set the partial refresh property
+            -->
+            <property>
+               <name>theme.dyna.partial_refresh_enabled</name>
+               <value>false</value>
+            </property>
+
+            <!-- Control policy config -->
+            <property>
+               <name>control.portal.access_denied</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.unavailable</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.not_found</name>
+               <value>ignore</value>
+            </property>
+            <property>
+               <name>control.portal.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.portal.resource_uri</name>
+               <value>/WEB-INF/jsp/error/portal.jsp</value>
+            </property>
+            <property>
+               <name>control.page.access_denied</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.unavailable</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.not_found</name>
+               <value>hide</value>
+            </property>
+            <property>
+               <name>control.page.internal_error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.error</name>
+               <value>jsp</value>
+            </property>
+            <property>
+               <name>control.page.resource_uri</name>
+               <value>/WEB-INF/jsp/error/page.jsp</value>
+            </property>
+         </properties>
+      </context>
+   </deployment>
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>template</portal-name>
+         <supported-modes>
+            <mode>view</mode>
+            <mode>edit</mode>
+            <mode>help</mode>
+         </supported-modes>
+         <supported-window-states>
+            <window-state>normal</window-state>
+            <window-state>minimized</window-state>
+            <window-state>maximized</window-state>
+         </supported-window-states>
+         <page>
+            <page-name>default</page-name>
+            <display-name xml:lang="en">Home</display-name>
+            <display-name xml:lang="it">Home</display-name>
+            <display-name xml:lang="es">Home</display-name>
+            <display-name xml:lang="fr">Accueil</display-name>
+            <display-name xml:lang="ru">Домой</display-name>
+            <display-name xml:lang="pt_BR">Início</display-name> 
+            <properties>
+               <property>
+                  <name>order</name>
+                  <value>1</value>
+               </property>
+            </properties>
+            <window>
+               <window-name>JSPPortletWindow</window-name>
+               <instance-ref>JSPPortletInstance</instance-ref>
+               <region>left</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>CMSWindow</window-name>
+               <content>
+                  <content-type>cms</content-type>
+                  <content-uri>/default/index.html</content-uri>
+               </content>
+               <region>center</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>IdentityUserPortletWindow</window-name>
+               <instance-ref>IdentityUserPortletInstance</instance-ref>
+               <region>left</region>
+               <height>1</height>
+            </window>
+         </page>
+      </portal>
+   </deployment>
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>admin</portal-name>
+         <supported-modes>
+            <mode>view</mode>
+            <mode>edit</mode>
+            <mode>help</mode>
+            <mode>admin</mode>
+         </supported-modes>
+         <supported-window-states>
+            <window-state>normal</window-state>
+            <window-state>minimized</window-state>
+            <window-state>maximized</window-state>
+         </supported-window-states>
+         <security-constraint>
+            <policy-permission>
+               <action-name>viewrecursive</action-name>
+               <role-name>PortalAdmin</role-name>
+            </policy-permission>
+         </security-constraint>
+         <page>
+            <page-name>default</page-name>
+            <supported-locale>fr</supported-locale>
+            <supported-locale>en</supported-locale>
+            <supported-locale>it</supported-locale>
+            <supported-locale>ja</supported-locale>
+            <supported-locale>pt_BR</supported-locale>
+            <resource-bundle>conf.bundles.Resource</resource-bundle>
+		
+            <window>
+               <window-name>AdminPortletWindow</window-name>
+               <instance-ref>AdminPortletInstance</instance-ref>
+               <region>center</region>
+               <height>0</height>
+               <properties>
+                  <property>
+                     <name>theme.renderSetId</name>
+                     <value>emptyRenderer</value>
+                  </property>
+               </properties>
+            </window>
+            <properties>
+               <property>
+                  <name>layout.id</name>
+                  <value>1column</value>
+               </property>
+            </properties>
+         </page>
+         <page>
+            <page-name>Members</page-name>
+            <supported-locale>fr</supported-locale>
+            <supported-locale>en</supported-locale>
+            <supported-locale>it</supported-locale>
+            <supported-locale>ja</supported-locale>
+            <supported-locale>pt_BR</supported-locale>
+            <resource-bundle>conf.bundles.Resource</resource-bundle>            
+            <window>
+               <window-name>IdentityAdminPortletWindow</window-name>
+               <instance-ref>IdentityAdminPortletInstance</instance-ref>
+               <region>center</region>
+               <height>0</height>
+               <properties>
+                  <property>
+                     <name>theme.renderSetId</name>
+                     <value>emptyRenderer</value>
+                  </property>
+               </properties>
+            </window>
+            <properties>
+               <property>
+                  <name>layout.id</name>
+                  <value>1column</value>
+               </property>
+            </properties>
+         </page>
+      </portal>
+   </deployment>   
+</deployments>


Property changes on: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/default-object.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/jboss-service.xml
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/jboss-service.xml	                        (rev 0)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/jboss-service.xml	2009-05-15 17:21:59 UTC (rev 88952)
@@ -0,0 +1,1247 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<server>
+
+   <!-- Server configuration service -->
+   <mbean code="org.jboss.portal.server.config.ServerConfigService" name="portal:service=ServerConfig" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ConfigLocation">conf/config.xml</attribute>
+   </mbean>
+
+   <!-- DTD repository -->
+   <mbean code="org.jboss.portal.server.impl.xml.EntityResolverService" name="portal:service=EntityResolver"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DTDMapping">
+         <properties>
+            <entry key="-//JBoss Portal//DTD JBoss Portlet 2.6//EN">dtd/jboss-portlet_2_6.dtd</entry>
+            <entry key="-//JBoss Portal//DTD JBoss App 2.6//EN">dtd/jboss-app_2_6.dtd</entry>
+            <entry key="-//JBoss Portal//DTD Portal Object 2.6//EN">dtd/portal-object_2_6.dtd</entry>
+            <entry key="-//JBoss Portal//DTD Portlet Instances 2.6//EN">dtd/portlet-instances_2_6.dtd</entry>
+         </properties>
+      </attribute>
+   </mbean>
+
+   <!-- Runtime context for running portlet container -->
+   <mbean code="org.jboss.portal.web.jboss.JBossWebContext" name="portal:service=ServletContainerFactory" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- Portal security services-->
+   <mbean code="org.jboss.portal.security.impl.JBossAuthorizationDomainRegistryImpl"
+          name="portal:service=AuthorizationDomainRegistry" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManagerFactory"
+          name="portal:service=PortalAuthorizationManagerFactory" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="AuthorizationDomainRegistry" proxy-type="attribute">
+         portal:service=AuthorizationDomainRegistry
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.impl.security.JBossPortletSecurityService"
+          name="portal:service=PortletSecurityService" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+      <depends optional-attribute-name="AuthorizationDomainRegistry" proxy-type="attribute">
+         portal:service=AuthorizationDomainRegistry
+      </depends>
+   </mbean>
+
+   <!-- Server stack -->
+   <mbean code="org.jboss.portal.server.aspects.server.SessionLockInterceptor"
+          name="portal:service=Interceptor,type=Server,name=SessionLock" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.server.TransactionInterceptor"
+          name="portal:service=Interceptor,type=Server,name=Transaction" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor"
+          name="portal:service=Interceptor,type=Server,name=UserEvent" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.server.aspects.server.SignOutInterceptor"
+          name="portal:service=Interceptor,type=Server,name=SessionInvalidator" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="ServletContainerFactory" proxy-type="attribute">
+         portal:service=ServletContainerFactory
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.server.UserInterceptor"
+          name="portal:service=Interceptor,type=Server,name=User" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="CacheUser">true</attribute>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.server.LocaleInterceptor"
+          name="portal:service=Interceptor,type=Server,name=Locale" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.server.PortalContextPathInterceptor"
+          name="portal:service=Interceptor,type=Server,name=PortalContextPath" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.server.aspects.server.ContentTypeInterceptor"
+          name="portal:service=Interceptor,type=Server,name=ContentType" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.server.IdentityCacheInterceptor"
+      name="portal:service=Interceptor,type=Server,name=IdentityCache"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+          name="portal:service=InterceptorStackFactory,type=Server" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Server,name=SessionLock</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=Transaction</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=IdentityCache</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=UserEvent</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=SessionInvalidator</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=User</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=Locale</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=PortalContextPath</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Server,name=ContentType</depends-list-element>
+      </depends-list>
+   </mbean>
+
+
+
+
+   <!-- Command stack -->
+   <mbean code="org.jboss.portal.core.aspects.controller.ControlInterceptor"
+          name="portal:service=Interceptor,type=Command,name=Control" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalControlPolicy" proxy-type="attribute">
+         portal:service=ControlPolicy,type=Portal
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor"
+          name="portal:service=Interceptor,type=Command,name=BackwardCompatibility" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor"
+          name="portal:service=Interceptor,type=Command,name=ResourceAcquisition" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.controller.ajax.AjaxInterceptor"
+          name="portal:service=Interceptor,type=Command,name=Ajax" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!--
+      this tag has to be set when context root of portal-ajax is
+      different by /portal-ajax path. 
+      Uncomment and change it if you want to change context root for portal-ajax application 
+      <attribute name="TargetContextPath">/portal-ajax</attribute> -->
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor"
+          name="portal:service=Interceptor,type=Command,name=NavigationalState" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <!-- 
+   		This interceptor cleans the Navigation state of windows when the user call a new page or refresh the page
+   -->
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.CleanNSInterceptor"
+      name="portal:service=Interceptor,type=Command,name=CleanNS"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean
+      code="org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor"
+      name="portal:service=Interceptor,type=Command,name=PortalNode"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor"
+          name="portal:service=Interceptor,type=Command,name=PolicyEnforcement" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor"
+          name="portal:service=Interceptor,type=Command,name=PageCustomizer" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="TargetContextPath">/portal-core</attribute>
+      <attribute name="HeaderPath">/WEB-INF/jsp/header/header.jsp</attribute>
+      <attribute name="TabsPath">/WEB-INF/jsp/header/tabs.jsp</attribute>
+      <!-- Overrides the value of core.login.namespace in config.xml  --><!--  attribute name="LoginNamespace">dashboard</attribute -->
+      <depends optional-attribute-name="Config" proxy-type="attribute">portal:service=ServerConfig</depends>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor"
+          name="portal:service=Interceptor,type=Command,name=EventBroadcaster" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="ListenerRegistry" proxy-type="attribute">portal:service=ListenerRegistry
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.server.impl.invocation.JBossInterceptorStackFactory"
+          name="portal:service=InterceptorStackFactory,type=Command" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Command,name=ResourceAcquisition</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=Ajax</depends-list-element>
+         <!-- depends-list-element>portal:service=Interceptor,type=Command,name=CleanNS</depends-list-element -->
+         <depends-list-element>portal:service=Interceptor,type=Command,name=NavigationalState</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=Control</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=BackwardCompatibility</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=PortalNode</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=PolicyEnforcement</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=PageCustomizer</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Command,name=EventBroadcaster</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- Instance stack -->
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=ConsumerCache" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.instance.InstanceSecurityInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=InstanceSecurity" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=PortalSessionSynchronization" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.instance.InstanceInvoker"
+          name="portal:service=Interceptor,type=Portlet,name=InstanceInvoker" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+         <depends optional-attribute-name="PortletInvoker" proxy-type="attribute">
+            portal:service=PortletInvoker,type=Federating
+         </depends>
+      <xmbean/>
+   </mbean>
+
+   <mbean code="org.jboss.portal.portlet.impl.invocation.JBossPortletInterceptorStackFactory"
+          name="portal:service=InterceptorStackFactory,type=Instance" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ConsumerCache</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=InstanceSecurity</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=PortalSessionSynchronization</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=InstanceInvoker</depends-list-element>
+      </depends-list>
+   </mbean>
+ 
+ 
+   <!-- Producer stack -->
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.ValveInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=Valve" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=ContextTracker" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=SecureTransport" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=ContextDispatcher" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="ServletContainerFactory" proxy-type="attribute">
+         portal:service=ServletContainerFactory
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=PortletSessionSynchronization" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.bridge.BridgeInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=Bridge" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=ProducerCache" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=RequestAttributeConversation" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=EventPayload" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.portlet.TransactionInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=Transaction" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.portlet.HttpHeaderInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=HttpHeader" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DefaultCookiePath">/</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.portlet.HeaderInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=Header" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.portlet.AjaxInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=Ajax" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=BackwardCompatibility" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.aspects.portlet.SignOutInterceptor"
+          name="portal:service=Interceptor,type=Portlet,name=SignOut" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <mbean code="org.jboss.portal.portlet.container.ContainerPortletDispatcher"
+          name="portal:service=Dispatcher,type=Portlet,name=ContainerPortlet" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   
+   
+   <mbean code="org.jboss.portal.portlet.impl.invocation.JBossPortletInterceptorStackFactory"
+          name="portal:service=InterceptorStackFactory,type=Producer" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends-list optional-attribute-name="InterceptorNames">
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Valve</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=SecureTransport</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=HttpHeader</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ContextDispatcher</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ContextTracker</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=PortletSessionSynchronization</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Bridge</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=BackwardCompatibility</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Ajax</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=SignOut</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=ProducerCache</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=RequestAttributeConversation</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=EventPayload</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Header</depends-list-element>
+         <depends-list-element>portal:service=Interceptor,type=Portlet,name=Transaction</depends-list-element>
+         <depends-list-element>portal:service=Dispatcher,type=Portlet,name=ContainerPortlet</depends-list-element>
+      </depends-list>
+   </mbean>
+
+   <!-- Theme and layout services -->
+   <mbean code="org.jboss.portal.theme.impl.ThemeServiceImpl" name="portal:service=ThemeService" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DefaultThemeName">renewal</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.theme.impl.LayoutServiceImpl" name="portal:service=LayoutService" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="DefaultLayoutName">generic</attribute>
+      <attribute name="DefaultRenderSetName">divRenderer</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.theme.impl.PageServiceImpl" name="portal:service=PageService" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="LayoutService" proxy-type="attribute">portal:service=LayoutService</depends>
+      <depends optional-attribute-name="ThemeService" proxy-type="attribute">portal:service=ThemeService</depends>
+   </mbean>
+
+ <!--
+      Node locking scheme possible values (NodeLockingScheme attribute):
+         OPTIMISTIC
+         PESSIMISTIC (default)
+
+
+      Isolation level possible values (IsolationLevel attribute):
+         SERIALIZABLE
+         REPEATABLE_READ (default)
+         READ_COMMITTED
+         READ_UNCOMMITTED
+         NONE
+      Note that this attribute is IGNORED if your NodeLockingScheme attribute is set at OPTIMISTIC.
+
+      Cache modes possible values (CacheMode attribute):
+         LOCAL
+         REPL_ASYNC
+         REPL_SYNC
+         INVALIDATION_ASYNC
+         INVALIDATION_SYNC
+
+      If you use REPL_SYNC and a UDP-based ClusterConfig we recommend you comment out the FC (flow control)
+      protocol in the ClusterConfig section below.
+
+      
+      Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts
+      <attribute name="ClusterConfig">      
+   		<config>
+   			<TCP bind_addr="thishost" start_port="7840" loopback="true"
+   				tcp_nodelay="true"
+   				recv_buf_size="20000000"
+   				send_buf_size="640000"
+   				discard_incompatible_packets="true"
+   				enable_bundling="false"
+   				max_bundle_size="64000"
+   				max_bundle_timeout="30"
+   				use_incoming_packet_handler="true"
+   				use_outgoing_packet_handler="false"
+   				down_thread="false" up_thread="false"
+   				use_send_queues="false"
+   				sock_conn_timeout="300"
+   				skip_suspected_members="true"/>
+   			<TCPPING initial_hosts="thishost[7840],otherhost[7840]" port_range="3"
+   				timeout="3000"
+   				down_thread="false" up_thread="false"
+   				num_initial_members="3"/>
+   			<MERGE2 max_interval="100000"
+   				down_thread="false" up_thread="false" min_interval="20000"/>
+   			<FD_SOCK down_thread="false" up_thread="false"/>
+   			<FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+   			<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+   			<pbcast.NAKACK max_xmit_size="60000"
+   				use_mcast_xmit="false" gc_lag="0"
+   				retransmit_timeout="300,600,1200,2400,4800"
+   				down_thread="false" up_thread="false"
+   				discard_delivered_msgs="true"/>
+   			<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+   				down_thread="false" up_thread="false"
+   				max_bytes="400000"/>
+   			<pbcast.GMS print_local_addr="true" join_timeout="3000"
+   				down_thread="false" up_thread="false"
+   				join_retry_timeout="2000" shun="true"
+   				view_bundling="true"/>
+   			<pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+   		</config>
+      </attribute>   		   
+   -->
+
+   <!--
+      | Uncomment in clustered mode : replicated cache for hibernate
+      
+   <mbean code="org.jboss.cache.TreeCache"
+   	name="portal:service=TreeCache,type=hibernate">
+   	<depends>jboss:service=Naming</depends>
+   	<depends>jboss:service=TransactionManager</depends>
+
+   	<attribute name="TransactionManagerLookupClass">
+   		org.jboss.cache.JBossTransactionManagerLookup
+   	</attribute>
+
+   	<attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
+   	<attribute name="IsolationLevel">READ_COMMITTED</attribute>
+   	<attribute name="CacheMode">INVALIDATION_SYNC</attribute>
+
+
+   	<attribute name="CacheMode">REPL_SYNC</attribute>
+
+   	<attribute name="ClusterName">
+   		${portal.hibernate.cache.partition.name:portal.hibernate}
+   	</attribute>
+
+   	<attribute name="InitialStateRetrievalTimeout">17500</attribute>
+
+   	<attribute name="SyncReplTimeout">17500</attribute>
+
+   	<attribute name="LockAcquisitionTimeout">15000</attribute>
+
+
+   	<attribute name="EvictionPolicyClass">
+   		org.jboss.cache.eviction.LRUPolicy
+   	</attribute>
+   	<attribute name="EvictionPolicyConfig">
+   		<config>
+   			<attribute name="wakeUpIntervalSeconds">5</attribute>
+
+   			<region name="/_default_">
+   				<attribute name="maxNodes">5000</attribute>
+   				<attribute name="timeToLiveSeconds">1000</attribute>
+   			</region>
+   		</config>
+   	</attribute>
+
+   	<attribute name="ClusterConfig">
+   		<config>
+   			<UDP
+   				mcast_addr="${jboss.partition.udpGroup:239.11.12.13}"
+   				mcast_port="${portal.hibernate.cache.udpPort:23456}" tos="8"
+   				ucast_recv_buf_size="20000000" ucast_send_buf_size="640000"
+   				mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"
+   				loopback="false" discard_incompatible_packets="true"
+   				enable_bundling="false" max_bundle_size="64000"
+   				max_bundle_timeout="30" use_incoming_packet_handler="true"
+   				use_outgoing_packet_handler="false"
+   				ip_ttl="${jgroups.udp.ip_ttl:2}" down_thread="false"
+   				up_thread="false" />
+   			<PING timeout="2000" down_thread="false"
+   				up_thread="false" num_initial_members="3" />
+   			<MERGE2 max_interval="100000" down_thread="false"
+   				up_thread="false" min_interval="20000" />
+   			<FD_SOCK down_thread="false" up_thread="false" />
+   			<FD timeout="10000" max_tries="5" down_thread="false"
+   				up_thread="false" shun="true" />
+   			<VERIFY_SUSPECT timeout="1500" down_thread="false"
+   				up_thread="false" />
+   			<pbcast.NAKACK max_xmit_size="60000"
+   				use_mcast_xmit="false" gc_lag="0"
+   				retransmit_timeout="300,600,1200,2400,4800" down_thread="false"
+   				up_thread="false" discard_delivered_msgs="true" />
+   			<UNICAST timeout="300,600,1200,2400,3600"
+   				down_thread="false" up_thread="false" />
+   			<pbcast.STABLE stability_delay="1000"
+   				desired_avg_gossip="50000" down_thread="false" up_thread="false"
+   				max_bytes="400000" />
+   			<pbcast.GMS print_local_addr="true" join_timeout="3000"
+   				down_thread="false" up_thread="false" join_retry_timeout="2000"
+   				shun="true" view_bundling="true" />
+   			<FRAG2 frag_size="60000" down_thread="false"
+   				up_thread="false" />
+   			<pbcast.STATE_TRANSFER down_thread="false"
+   				up_thread="false" use_flush="false" />
+   		</config>
+   	</attribute>
+   </mbean>
+      
+   
+   -->
+
+   <!-- Session factories -->
+   <mbean code="org.jboss.portal.jems.hibernate.SessionFactoryBinder" name="portal:service=Hibernate" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>   
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/user/hibernate.cfg.xml</attribute>
+      <attribute name="SetupLocation">conf/hibernate/user/setup.txt</attribute>
+      <attribute name="JNDIName">java:/portal/IdentitySessionFactory</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.jems.hibernate.SessionFactoryBinder" name="portal:service=Hibernate,type=Instance"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/instance/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/InstanceSessionFactory</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.jems.hibernate.SessionFactoryBinder" name="portal:service=Hibernate,type=PortalObject"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/portal/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/PortalObjectSessionFactory</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.jems.hibernate.SessionFactoryBinder" name="portal:service=Hibernate,type=Portlet"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>      
+      <attribute name="DoChecking">true</attribute>
+      <attribute name="ConfigLocation">conf/hibernate/portlet/hibernate.cfg.xml</attribute>
+      <attribute name="JNDIName">java:/portal/PortletSessionFactory</attribute>
+   </mbean>
+
+   <!--Identity-->
+   <mbean code="org.jboss.portal.identity.service.IdentityEventManagerService"
+          name="portal:service=IdentityEventManager" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.identity.service.IdentityServiceControllerImpl"
+          name="portal:service=Module,type=IdentityServiceController" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate</depends>
+      <depends optional-attribute-name="IdentityEventBroadcaster" proxy-type="attribute">
+         portal:service=IdentityEventManager
+      </depends>
+      <attribute name="JndiName">java:/portal/IdentityServiceController</attribute>
+      <attribute name="RegisterMBeans">true</attribute>
+      <attribute name="ConfigFile">conf/identity/negotiation_identity-config.xml</attribute>
+      <attribute name="DefaultConfigFile">conf/identity/standardidentity-config.xml</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.portal.core.impl.mail.MailModuleImpl" name="portal:service=Module,type=Mail" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss:service=Mail</depends>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+      <attribute name="QueueCapacity">-1</attribute>
+      <attribute name="Gateway">localhost</attribute>
+      <attribute name="SmtpUser"></attribute>
+      <attribute name="SmtpPassword"></attribute>
+      <attribute name="JavaMailDebugEnabled">false</attribute>
+      <attribute name="SMTPConnectionTimeout">100000</attribute>
+      <attribute name="SMTPTimeout">10000</attribute>
+      <attribute name="SMTPStarttlsEnable">false</attribute>
+      <attribute name="JNDIName">java:portal/MailModule</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="portal:service=JAASLoginModule">
+      <depends optional-attribute-name="LoginConfigService">jboss.security:service=XMLLoginConfig</depends>
+      <depends optional-attribute-name="SecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
+      <attribute name="AuthConfig">conf/login-config.xml</attribute>
+   </mbean>
+
+   <!-- a service to schedule activity of the users -->
+   <mbean code="org.jboss.portal.core.identity.UsersActivityStatsServiceImpl"
+          name="portal:service=Module,type=UsersActivityStatsService" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!--
+        |Uncomment in clustered mode : broadcaster will spread info about user activity in cluster
+      
+
+         <attribute name="ActivityBroadcasterName">portal:service=HAUserActivityNotificationBroadcaster</attribute>
+
+      
+      -->
+   </mbean>
+
+   <!--
+     |Uncomment in clustered mode : broadcaster will spread info about user activity in cluster
+   
+
+   <mbean code="org.jboss.portal.core.identity.UserActivityNotificationBroadcaster" 
+      name="portal:service=HAUserActivityNotificationBroadcaster">
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+   </mbean>
+
+   
+   -->
+
+   <!-- Registries -->
+
+   <!-- mbean
+      code="org.jboss.portal.portlet.deployment.jboss.PortletApplicationDeployer"
+      name="portal:service=WebAppRegistry"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends
+         optional-attribute-name="ServletContainerFactory"
+         proxy-type="attribute">portal:service=ServletContainerFactory</depends>
+      
+   </mbean-->
+
+   <!-- Listener registry -->
+   <mbean code="org.jboss.portal.core.event.PortalEventListenerRegistryImpl" name="portal:service=ListenerRegistry"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- The different containers -->
+
+   <mbean code="org.jboss.portal.core.impl.model.instance.persistent.PersistentInstanceContainerContext"
+          name="portal:service=InstanceContainerContext" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=Instance</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/InstanceSessionFactory</attribute>
+      <attribute name="CacheNaturalId">true</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.portal.core.impl.model.instance.InstanceContainerImpl" name="portal:container=Instance"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="ContainerContext" proxy-type="attribute">portal:service=InstanceContainerContext
+      </depends>
+      <depends optional-attribute-name="StackFactory" proxy-type="attribute">
+         portal:service=InterceptorStackFactory,type=Instance
+      </depends>
+      <depends optional-attribute-name="PortletInvoker" proxy-type="attribute">
+         portal:service=PortletInvoker,type=Federating
+      </depends>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+      <depends optional-attribute-name="AuthorizationDomainRegistry" proxy-type="attribute">
+         portal:service=AuthorizationDomainRegistry
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer"
+          name="portal:container=PortalObject" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=PortalObject</depends>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+      <depends optional-attribute-name="AuthorizationDomainRegistry" proxy-type="attribute">
+         portal:service=AuthorizationDomainRegistry
+      </depends>
+      <depends optional-attribute-name="ContentProviderRegistry" proxy-type="attribute">
+         portal:service=ContentProviderRegistry
+      </depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/PortalObjectSessionFactory</attribute>
+      <attribute name="CacheNaturalId">true</attribute>
+   </mbean>
+
+   <!-- Coordination service -->
+
+   <mbean code="org.jboss.portal.core.impl.coordination.CoordinationService"
+          name="portal:service=CoordinationService" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">
+         portal:container=PortalObject
+      </depends>
+   </mbean>
+
+   <!-- Customization manager -->
+   <mbean code="org.jboss.portal.core.impl.model.CustomizationManagerService" name="portal:service=CustomizationManager"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+      <depends optional-attribute-name="InstanceContainer" proxy-type="attribute">portal:container=Instance</depends>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+      <depends>portal:service=Module,type=IdentityServiceController</depends>
+      <attribute name="DashboardContextId">dashboard</attribute>
+   </mbean>
+
+   <!-- The content provider framework -->
+   <mbean code="org.jboss.portal.core.impl.model.content.ContentProviderRegistryService"
+          name="portal:service=ContentProviderRegistry" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.impl.model.content.portlet.InternalPortletContentProvider"
+          name="portal:service=ContentRenderer,type=portlet" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="ContentType">portlet</attribute>
+      <depends optional-attribute-name="Registry" proxy-type="attribute">portal:service=ContentProviderRegistry
+      </depends>
+      <depends optional-attribute-name="CustomizationManager" proxy-type="attribute">portal:service=CustomizationManager
+      </depends>
+      <depends optional-attribute-name="InstanceContainer" proxy-type="attribute">portal:container=Instance</depends>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+   </mbean>
+
+   <!-- Integrate identity -->
+   <mbean code="org.jboss.portal.core.identity.DashboardBridge" name="portal:service=IdentityDashboardBridge"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="IdentityEventEmitter" proxy-type="attribute">portal:service=IdentityEventManager
+      </depends>
+      <depends optional-attribute-name="CustomizationManager" proxy-type="attribute">portal:service=CustomizationManager
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.identity.SecurityBridge" name="portal:service=IdentitySecurityBridge" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="IdentityEventEmitter" proxy-type="attribute">portal:service=IdentityEventManager
+      </depends>
+      <depends optional-attribute-name="DynamicLoginConfig" proxy-type="attribute">portal:service=JAASLoginModule
+      </depends>
+   </mbean>
+
+   <!-- Command factories -->
+   <mbean code="org.jboss.portal.core.controller.command.mapper.DelegatingCommandFactoryService"
+          name="portal:commandFactory=Delegating" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.DefaultPortalCommandFactory"
+          name="portal:commandFactory=DefaultPortal" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="NextFactory" proxy-type="attribute">portal:commandFactory=Delegating</depends>
+      <depends optional-attribute-name="Container" proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+
+   <mbean code="org.jboss.portal.core.model.portal.command.mapping.DefaultPortalObjectPathMapper"
+          name="portal:service=PortalObjectPathMapper,type=Default" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Container" proxy-type="attribute">portal:container=PortalObject</depends>
+      <attribute name="Namespace"><![CDATA[]]></attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.PortalObjectCommandFactory" name="portal:commandFactory=PortalObject"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Mapper" proxy-type="attribute">
+         portal:service=PortalObjectPathMapper,type=Default
+      </depends>
+   </mbean>
+
+   <mbean code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+          name="portal:commandFactory=Delegate,path=portal" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/portal</attribute>
+      <depends optional-attribute-name="DelegatingFactory" proxy-type="attribute">portal:commandFactory=Delegating
+      </depends>
+      <depends optional-attribute-name="DelegateFactory" proxy-type="attribute">portal:commandFactory=PortalObject
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.controller.command.mapper.SignOutCommandFactoryService"
+          name="portal:commandFactory=SignOut" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+          name="portal:commandFactory=Delegate,path=signout" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/signout</attribute>
+      <depends optional-attribute-name="DelegatingFactory" proxy-type="attribute">portal:commandFactory=Delegating
+      </depends>
+      <depends optional-attribute-name="DelegateFactory" proxy-type="attribute">portal:commandFactory=SignOut</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.command.mapping.DashboardPortalObjectPathMapper"
+          name="portal:service=PortalObjectPathMapper,type=Dashboard" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="CustomizationManager" proxy-type="attribute">portal:service=CustomizationManager
+      </depends>
+      <depends optional-attribute-name="Container" proxy-type="attribute">portal:container=PortalObject</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.PortalObjectCommandFactory" name="portal:commandFactory=Dashboard"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Mapper" proxy-type="attribute">
+         portal:service=PortalObjectPathMapper,type=Dashboard
+      </depends>
+   </mbean>
+
+   <mbean code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+          name="portal:commandFactory=Delegate,path=dashboard" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/dashboard</attribute>
+      <depends optional-attribute-name="DelegatingFactory" proxy-type="attribute">portal:commandFactory=Delegating
+      </depends>
+      <depends optional-attribute-name="DelegateFactory" proxy-type="attribute">portal:commandFactory=Dashboard
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.controller.ajax.AjaxCommandFactory" name="portal:commandFactory=Ajax" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
+          name="portal:commandFactory=Delegate,path=ajax" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/ajax</attribute>
+      <depends optional-attribute-name="DelegatingFactory" proxy-type="attribute">portal:commandFactory=Delegating
+      </depends>
+      <depends optional-attribute-name="DelegateFactory" proxy-type="attribute">portal:commandFactory=Ajax</depends>
+   </mbean>
+
+   <!-- URL factories -->
+   <mbean code="org.jboss.portal.core.controller.command.mapper.DelegatingURLFactoryService"
+          name="portal:urlFactory=Delegating" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
+          name="portal:urlFactory=PortalObject,type=Default" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Namespace"><![CDATA[]]></attribute>
+      <attribute name="Path">/portal</attribute>
+      <depends optional-attribute-name="Factory" proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends optional-attribute-name="Mapper" proxy-type="attribute">
+         portal:service=PortalObjectPathMapper,type=Default
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.controller.command.mapper.SignOutURLFactory" name="portal:urlFactory=SignOut"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Path">/signout</attribute>
+      <depends optional-attribute-name="Factory" proxy-type="attribute">portal:urlFactory=Delegating</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.PortalObjectURLFactory"
+          name="portal:urlFactory=PortalObject,type=Dashboard" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Namespace">dashboard</attribute>
+      <attribute name="Path">/dashboard</attribute>
+      <depends optional-attribute-name="Factory" proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends optional-attribute-name="Mapper" proxy-type="attribute">
+         portal:service=PortalObjectPathMapper,type=Dashboard
+      </depends>
+   </mbean>
+
+   <!-- The federating portlet invoker -->
+   <mbean code="org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService"
+          name="portal:service=PortletInvoker,type=Federating" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- The portlet container invoker -->
+   <mbean code="org.jboss.portal.portlet.container.ContainerPortletInvoker"
+          name="portal:service=PortletInvoker,type=Container" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Next" proxy-type="attribute">
+         portal:service=Interceptor,type=Portlet,name=Valve
+      </depends>
+      <depends>portal:service=InterceptorStackFactory,type=Producer</depends>
+   </mbean>
+
+   <!-- The producer portlet invoker -->
+   <mbean code="org.jboss.portal.core.impl.portlet.state.PersistentPortletStatePersistenceManager"
+          name="portal:service=PersistenceManager,type=Producer" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>portal:service=Hibernate,type=Portlet</depends>
+      <attribute name="SessionFactoryJNDIName">java:/portal/PortletSessionFactory</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.impl.state.StateManagementPolicyService"
+          name="portal:service=StateManagementPolicy,type=Producer" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="PersistLocally">true</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.portlet.impl.state.StateConverterV0" name="portal:service=StateConverter,type=Producer"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+   <mbean code="org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker"
+          name="portal:service=PortletInvoker,type=Producer" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!-- 
+      <depends optional-attribute-name="PortletInvoker" proxy-type="attribute">
+         portal:service=PortletInvoker,type=Container
+      </depends>
+       -->
+      <depends optional-attribute-name="Next" proxy-type="attribute">
+         portal:service=PortletInvoker,type=Container
+      </depends>
+      <depends optional-attribute-name="PersistenceManager" proxy-type="attribute">
+         portal:service=PersistenceManager,type=Producer
+      </depends>
+      <depends optional-attribute-name="StateManagementPolicy" proxy-type="attribute">
+         portal:service=StateManagementPolicy,type=Producer
+      </depends>
+      <depends optional-attribute-name="StateConverter" proxy-type="attribute">
+         portal:service=StateConverter,type=Producer
+      </depends>
+   </mbean>
+
+   <!-- Register the state portlet invoker on the federating portlet invoker -->
+   <mbean code="org.jboss.portal.portlet.federation.impl.PortletInvokerRegistrationService"
+          name="portal:service=PortletInvokerRegistration,id=local" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <attribute name="Id">local</attribute>
+      <depends optional-attribute-name="PortletInvoker" proxy-type="attribute">
+         portal:service=PortletInvoker,type=Producer
+      </depends>
+      <depends optional-attribute-name="FederatingPortletInvoker" proxy-type="attribute">
+         portal:service=PortletInvoker,type=Federating
+      </depends>
+   </mbean>
+
+   <!-- The classic response handler -->
+   <mbean code="org.jboss.portal.core.controller.classic.ClassicResponseHandler"
+          name="portal:service=ResponseHandler,type=Classic" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!-- The ajax response handler -->
+   <mbean code="org.jboss.portal.core.controller.ajax.AjaxResponseHandler"
+          name="portal:service=ResponseHandler,type=Ajax" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PageService" proxy-type="attribute">portal:service=PageService</depends>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+   </mbean>
+
+   <!-- The response handler selector -->
+   <mbean code="org.jboss.portal.core.controller.handler.ResponseHandlerSelector"
+          name="portal:service=ResponseHandler,type=Selector" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="ClassicResponseHandler" proxy-type="attribute">
+         portal:service=ResponseHandler,type=Classic
+      </depends>
+      <depends optional-attribute-name="AjaxResponseHandler" proxy-type="attribute">
+         portal:service=ResponseHandler,type=Ajax
+      </depends>
+   </mbean>
+
+   <!-- -->
+   <mbean code="org.jboss.portal.core.model.portal.control.page.DefaultPageControlPolicy"
+          name="portal:service=ControlPolicy,type=Page" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+   </mbean>
+   <mbean code="org.jboss.portal.core.model.portal.control.portal.DefaultPortalControlPolicy"
+          name="portal:service=ControlPolicy,type=Portal" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+   </mbean>
+
+   <!-- The controller -->
+   <mbean code="org.jboss.portal.core.controller.Controller" name="portal:service=Controller" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="PageService" proxy-type="attribute">portal:service=PageService</depends>
+      <depends optional-attribute-name="CommandFactory" proxy-type="attribute">portal:commandFactory=DefaultPortal
+      </depends>
+      <depends optional-attribute-name="URLFactory" proxy-type="attribute">portal:urlFactory=Delegating</depends>
+      <depends optional-attribute-name="StackFactory" proxy-type="attribute">
+         portal:service=InterceptorStackFactory,type=Command
+      </depends>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+      <depends optional-attribute-name="InstanceContainer" proxy-type="attribute">portal:container=Instance</depends>
+      <depends optional-attribute-name="PortalAuthorizationManagerFactory" proxy-type="attribute">
+         portal:service=PortalAuthorizationManagerFactory
+      </depends>
+      <depends optional-attribute-name="CustomizationManager" proxy-type="attribute">portal:service=CustomizationManager
+      </depends>
+      <depends optional-attribute-name="ContentRendererRegistry" proxy-type="attribute">
+         portal:service=ContentProviderRegistry
+      </depends>
+      <depends optional-attribute-name="ResponseHandler" proxy-type="attribute">
+         portal:service=ResponseHandler,type=Selector
+      </depends>
+      <depends optional-attribute-name="PageControlPolicy" proxy-type="attribute">portal:service=ControlPolicy,type=Page
+      </depends>
+      <depends optional-attribute-name="ContentProviderRegistry" proxy-type="attribute">
+         portal:service=ContentProviderRegistry
+      </depends>
+      <depends optional-attribute-name="CoordinationManager" proxy-type="attribute">
+         portal:service=CoordinationService
+      </depends>
+      <depends optional-attribute-name="CoordinationConfigurator" proxy-type="attribute">
+         portal:service=CoordinationService
+      </depends>
+   </mbean>
+
+   <!-- The controller factory -->
+   <mbean code="org.jboss.portal.server.impl.RequestControllerFactoryImpl" name="portal:service=ControllerFactory"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Controller" proxy-type="attribute">portal:service=Controller</depends>
+   </mbean>
+
+   <!-- -->
+   <mbean code="org.jboss.portal.server.impl.ServerImpl" name="portal:service=Server" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Config" proxy-type="attribute">portal:service=ServerConfig</depends>
+      <depends optional-attribute-name="ServletContainerFactory" proxy-type="attribute">
+         portal:service=ServletContainerFactory
+      </depends>
+   </mbean>
+
+   <!-- -->
+   <mbean code="org.jboss.portal.server.deployment.jboss.ServerDeployer" name="portal:deployer=PortalWebApp">
+      <depends>jboss.system:service=MainDeployer</depends>
+      <depends>portal:container=PortalObject</depends>
+      <depends>portal:container=Instance</depends>
+      <depends optional-attribute-name="PortalServer" proxy-type="attribute">portal:service=Server</depends>
+   </mbean>
+
+   <!-- Portal object deployment factory --><!--
+      | Uncomment in cluster mode : have the deployment of objects run as a clustered singleton
+      
+      <mbean
+      code="org.jboss.portal.jems.as.system.LifecycleInvoker"
+      name="portal:service=Controller,target=ObjectDeploymentFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <depends>portal:container=PortalObject</depends>
+      <attribute name="Target">portal:deploymentFactory=Object</attribute>
+      <attribute name="OnStart">registerFactory</attribute>
+      <attribute name="OnStop">unregisterFactory</attribute>
+      </mbean>
+   
+   -->
+   <mbean code="org.jboss.portal.core.deployment.jboss.ObjectDeploymentFactory" name="portal:deploymentFactory=Object"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Deployer" proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends optional-attribute-name="PortalObjectContainer" proxy-type="attribute">portal:container=PortalObject
+      </depends>
+      <depends optional-attribute-name="ContentProviderRegistry" proxy-type="attribute">
+         portal:service=ContentProviderRegistry
+      </depends>
+      <depends optional-attribute-name="PortalObjectEntityResolver" proxy-type="attribute">portal:service=EntityResolver
+      </depends>
+      <depends optional-attribute-name="CoordinationConfigurator" proxy-type="attribute">
+         portal:service=CoordinationService
+      </depends>
+      <attribute name="SetupLocation">conf/data/default-object.xml</attribute>
+      <!-- Set to false in clustered mode, otherwise set to true -->
+      <attribute name="RegistrationControlledByService">true</attribute>
+   </mbean>
+
+   <mbean code="org.jboss.portal.core.impl.portlet.info.CoreInfoBuilderFactory"
+          name="portal:service=InfoBuilderFactory,type=Core" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+   </mbean>
+
+   <!--  --><!--
+      | Uncomment in cluster mode : have the creation of instances run as a clustered singleton
+      
+      <mbean
+      code="org.jboss.portal.jems.as.system.LifecycleInvoker"
+      name="portal:service=Controller,target=PortletAppDeploymentFactory"
+      xmbean-dd=""
+      xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>
+      <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
+      <depends>portal:container=PortalObject</depends>
+      <attribute name="Target">portal:deploymentFactory=PortletApp</attribute>
+      <attribute name="OnStart">enableCreateInstances</attribute>
+      <attribute name="OnStop">disableCreateInstances</attribute>
+      </mbean>
+   
+   -->
+   <mbean code="org.jboss.portal.core.deployment.jboss.PortletAppDeploymentFactory"
+          name="portal:deploymentFactory=PortletApp" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <!-- 
+      <depends>jboss.ha:service=HASingletonDeployer</depends>
+       -->
+      <depends>portal:service=PortletInvokerRegistration,id=local</depends>
+      <depends optional-attribute-name="Deployer" proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends optional-attribute-name="CoreInfoBuilderFactory" proxy-type="attribute">
+         portal:service=InfoBuilderFactory,type=Core
+      </depends>
+      <depends optional-attribute-name="PortletContainerInvoker" proxy-type="attribute">
+         portal:service=PortletInvoker,type=Container
+      </depends>
+      <depends optional-attribute-name="Config" proxy-type="attribute">portal:service=ServerConfig</depends>
+      <depends optional-attribute-name="PortletSecurityService" proxy-type="attribute">
+         portal:service=PortletSecurityService
+      </depends>
+      <depends optional-attribute-name="InstanceContainer" proxy-type="attribute">portal:container=Instance</depends>
+      <depends optional-attribute-name="JBossPortletEntityResolver" proxy-type="attribute">portal:service=EntityResolver
+      </depends>
+      <depends optional-attribute-name="PortalObjectEntityResolver" proxy-type="attribute">portal:service=EntityResolver
+      </depends>
+      <depends optional-attribute-name="PortletInstancesEntityResolver" proxy-type="attribute">
+         portal:service=EntityResolver
+      </depends>
+      <attribute name="StandardJBossApplicationMetaDataLocation">conf/standardjboss-portlet.xml</attribute>
+      <!-- Set to false in clustered mode, otherwise set to true -->
+      <attribute name="CreateInstances">true</attribute>
+   </mbean>
+   <mbean code="org.jboss.portal.theme.deployment.jboss.LayoutDeploymentFactory" name="portal:deploymentFactory=Layout"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Deployer" proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends optional-attribute-name="LayoutService" proxy-type="attribute">portal:service=LayoutService</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.theme.deployment.jboss.LayoutFeaturesDeploymentFactory"
+          name="portal:deploymentFactory=LayoutFeatures" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Deployer" proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends optional-attribute-name="LayoutService" proxy-type="attribute">portal:service=LayoutService</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.theme.deployment.jboss.ThemeDeploymentFactory" name="portal:deploymentFactory=Theme"
+          xmbean-dd="" xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="Deployer" proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends optional-attribute-name="ThemeService" proxy-type="attribute">portal:service=ThemeService</depends>
+   </mbean>
+   <mbean code="org.jboss.portal.server.deployment.WebAppAdapter" name="portal:deployer=Adapter" xmbean-dd=""
+          xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
+      <xmbean/>
+      <depends optional-attribute-name="InterceptedDeployer">jboss.web:service=WebServer</depends>
+      <depends optional-attribute-name="Deployer" proxy-type="attribute">portal:deployer=PortalWebApp</depends>
+      <depends optional-attribute-name="JBossAppEntityResolver" proxy-type="attribute">portal:service=EntityResolver
+      </depends>
+   </mbean>
+   
+</server>


Property changes on: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/jboss-service.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/login-config.xml
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/login-config.xml	2009-05-15 15:24:56 UTC (rev 88951)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/login-config.xml	2009-05-15 17:21:59 UTC (rev 88952)
@@ -51,7 +51,9 @@
             <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
             <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
             <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
-            <module-option name="validateUserNameCase">true</module-option>
+            
+            <!--  The realm is currently giving case different problems -->
+            <module-option name="validateUserNameCase">false</module-option>
             <module-option name="additionalRole">Authenticated</module-option>
          </login-module>
 

Added: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/negotiation_identity-config.xml
===================================================================
--- projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/negotiation_identity-config.xml	                        (rev 0)
+++ projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/negotiation_identity-config.xml	2009-05-15 17:21:59 UTC (rev 88952)
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software is distributed in the hope that it will be useful,          ~
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--<!DOCTYPE identity-configuration PUBLIC
+"-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
+"http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">-->
+
+
+<!-- This file overrides settings from standardidentity-config.xml.
+     Check default option values that are used there -->
+
+<identity-configuration>
+   <datasources>
+      <datasource>
+         <name>LDAP</name>
+         <config>
+            <option>
+               <name>host</name>
+               <value>testserver</value>
+            </option>
+            <option>
+               <name>port</name>
+               <value>389</value>
+            </option>
+            <option>
+               <name>adminDN</name>
+               <value>searchuser at vm104.gsslab.rdu.redhat.com</value>
+            </option>
+            <option>
+               <name>adminPassword</name>
+               <value> < SET > < PASSWORD ></value>
+            </option>
+         </config>
+      </datasource>
+   </datasources>
+   <modules>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>User</type>
+         <implementation>LDAP</implementation>
+         <!--Use this implementation for more flexible user retrieval-->
+         <class>
+            org.jboss.security.negotiation.portal.NegotiationUserModuleImpl
+         </class>
+         <config/>
+      </module>
+      <module>
+         <type>Role</type>
+         <implementation>LDAP</implementation>
+         <!--Use this implementation for more flexible user retrieval-->
+         <class>
+            org.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl
+         </class>
+         <config/>
+      </module>
+      <module>
+         <type>Membership</type>
+         <implementation>LDAP</implementation>
+         <class>
+            org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl
+         </class>         
+         <config/>
+      </module>
+      <module>
+         <type>UserProfile</type>
+         <implementation>DELEGATING</implementation>
+         <config>
+            <option>
+               <name>ldapModuleJNDIName</name>
+               <value>java:/portal/LDAPUserProfileModule</value>
+            </option>
+         </config>
+      </module>
+      <module>
+         <type>DBDelegateUserProfile</type>
+         <implementation>DB</implementation>
+         <config>
+            <option>
+               <name>randomSynchronizePassword</name>
+               <value>true</value>
+            </option>
+         </config>
+      </module>
+      <module>
+         <type>LDAPDelegateUserProfile</type>
+         <implementation>LDAP</implementation>
+         <config/>
+      </module>
+   </modules>
+
+   <options>
+      <option-group>
+         <group-name>common</group-name>
+                  
+         <option>
+            <name>userCtxDN</name>
+            <value>CN=Users,DC=vm104,DC=gsslab,DC=rdu,DC=redhat,DC=com</value>
+         </option>
+         <option>
+            <name>userSearchFilter</name>
+            <value><![CDATA[(&((userPrincipalName={0})(objectClass=person)))]]></value>
+         </option>
+         <option>
+           <name>uidAttributeID</name>
+           <!-- Required as login module verifies the username matches. -->
+           <value>userPrincipalName</value>
+         </option>
+                        
+         <option>
+            <name>roleCtxDN</name>
+            <value>CN=Users,DC=vm104,DC=gsslab,DC=rdu,DC=redhat,DC=com</value>
+         </option>         
+         <option>
+            <name>roleSearchFilter</name>
+            <value><![CDATA[(&((cn={0})(objectClass=groupOfNames)))]]></value>
+         </option>
+      </option-group>
+   </options>
+
+</identity-configuration>
\ No newline at end of file


Property changes on: projects/security/security-negotiation/branches/SECURITY-353/jboss-negotiation-portal/src/resources/portal/negotiation_identity-config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jboss-cvs-commits mailing list