[JBoss Portal] - Re: Portlet with Ajax4jsf
by dimiter_a
To Viggo:
1. Unfortunatelly there is not a place where you can read all you need to make a richfaces portlet work on jboss portal. If I had more time, I would make a detailed tutorial to save the work for others that try this(It took me about 3 days). Anyway I think this will be done much better by the developers from jboss.
2. That's exactly what I had to do. Multiple JSF RichFaces applications, packed into portlets, running on a single portal server, it is very convinient.
3. Yes, I used Maven for dependency management of all project jars.
4. Here is the url of the portlet-3.1.2.GA.jar - in maven repository:
http://repository.jboss.com/maven2/org/richfaces/extensions/portlet/3.1.2...
Your last question remind me one more thing. Actually the working configuration is using the FacesPortlet form sun:
portlet.xml:
| <portlet-name>NutritionPortlet</portlet-name>
| <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
| <init-param>
| <name>com.sun.faces.portlet.INIT_VIEW</name>
| <value>/pages/menu.jsp</value>
| </init-param>
|
anonymous wrote : I'm just curious:
| 1. Where did you find the required information to make all work together? In one place, or by googling the internet?
| 2. You're developing a JSF application where you use a portlet bridge to make it work in a portal, right?
| 3. Do you utilize Maven for dependency management?
| 4. From the configuration you have provided here, I can assume you're using the portlet bridge from the Richfaces/Ajax4JSF guys, not the one from Sun? Is that what you refer to as "portlet-3.1.2.GA " Can it be downloaded from a Maven repository?
|
| Thanks in advance:)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105087#4105087
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105087
18 years, 8 months
[JBoss jBPM] - jBPM Evaluation Confusion
by rrey2279
Hello,
I have very little experience working with professional workflow engines...I do have alot of experience developing jsp's, servlets, JEE, etc.
I'm having trouble understanding jBPM from a technical standpoint.
At the company I work for, we have an internal JEE application that runs on Tomcat. It was built about 5 years ago using JSP and servlet technology with custom workflow. The application functions as a critical internal business process with employees interacting from several departments.
It uses a set of database tables to dynamically determine the workflow. The app is very primitive to say the least, however, it has become a critical component for the business. Fast forward to 2007, there are many problems with the application and we are considering a complete overhaul using a professional workflow product.
Since we are a Java shop (open-source first), there has been alot of talk about jBPM. Here is a set of questions I can't seem to find the answers to:
1. Our current app has about 30 jsp screens... Does jBPM automatically generate new jsp's ?
2. How is a JEE app incorporated with jBPM?
3. Are we required to use the web-app that is shown in the jBPM demo? The demo sets up a basic process for requesting vacation time, then generates an app. Is this how a new app is created?
4. Is there a JEE sample application for jBPM ?
thanks,
Hopefully you guys can help me clear the fog.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105085#4105085
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105085
18 years, 8 months
[JBoss Portal] - CMS and LDAP in 2.6.2
by nollie
Greetings coders
I'm running AS 4.2.2.GA with portal 2.6.2 and authenticating against an LDAP server.
Now I'm trying to use the CMS, but I'm somehow not authorized to see any content. My user has the "Admin" role, but I'm not given access to the CMS portlet.
In my login-config.xml I have copied my working "portal" LDAP application-policy to the "cms" application-policy without any luck.
Here's my CMS policy from login-config.xml. Where you see "correct" or "AwesomePassword" I have replaced company-specific information.
<!-- For the JCR CMS -->
| <application-policy name="cms">
| <authentication>
| <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
| <module-option name="synchronizeIdentity">true</module-option>
| <module-option name="synchronizeRoles">true</module-option>
| <module-option name="additionalRole">Authenticated</module-option>
| <module-option name="defaultAssignedRole">User</module-option>
| <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
| <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
| <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
| <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
| <module-option name="password-stacking">useFirstPass</module-option>
| <module-option name="java.naming.provider.url">ldaps://correct.url.and:port/</module-option>
| <module-option name="java.naming.security.authentication">simple</module-option>
| <module-option name="java.naming.security.protocol">ssl</module-option>
| <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
| <module-option name="bindDN">uid=portal,ou=ServiceAccounts,dc=correct,dc=org</module-option>
| <module-option name="bindCredential">AwesomePassword</module-option>
| <module-option name="baseCtxDN">ou=People,dc=correct,dc=org</module-option>
| <module-option name="baseFilter">(&(objectClass=person)(uid={0}))</module-option>
| <module-option name="rolesCtxDN">ou=portal,ou=Groups,dc=correct,dc=org</module-option>
| <module-option name="roleFilter">(&(objectClass=groupofuniquenames)(uniquemember={1}))</module-option>
| <module-option name="roleAttributeIsDN">false</module-option>
| <module-option name="roleAttributeID">cn</module-option>
| <module-option name="roleRecursion">0</module-option>
| <module-option name="roleNameAttributeID">cn</module-option>
| <module-option name="searchScope">SUBTREE_SCOPE</module-option>
| <module-option name="defaultRole">Authenticated</module-option>
| <module-option name="unauthenticatedIdentity">Anonymous</module-option>
| <module-option name="allowEmptyPasswords">false</module-option>
| </login-module>
| </authentication>
| </application-policy>
Any help appreciated!
-nollie
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105083#4105083
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105083
18 years, 8 months