[jboss-user] [JBoss Portal] - Re: User Identity modules in a Portlet?

remi_dong do-not-reply at jboss.com
Fri Oct 5 04:45:20 EDT 2007


I find the solution.
My problme is i'am not decalre the Transaction in my portlet, so i add the description in to the jboss-portlet.xml:
--------------------------------------------------------------------------
	
		<portlet-name>UserGestionPortlet</portlet-name>
		
			<trans-attribute>Required</trans-attribute>
				
	
--------------------------------------------------------------------------
Also, i add the service to this file, but i don't kown if it's needed.
--------------------------------------------------------------------------
	
		<service-name>UserModule</service-name>
		<service-class>org.jboss.portal.identity.UserModule</service-class>
		<service-ref>:service=Module,type=User</service-ref>
	
	
		<service-name>RoleModule</service-name>
		<service-class>org.jboss.portal.identity.RoleModule</service-class>
		<service-ref>:service=Module,type=Role</service-ref>
	
--------------------------------------------------------------------------

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091876#4091876

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091876



More information about the jboss-user mailing list