[JBoss Portal] - RichFaces : sample for ajax jsf portlet provided
by Antoine_h
RichFaces has provided a sample application that use RichFaces Ajax and JSF nice components in a JBoss Portal Portlet.
see : http://jira.jboss.com/jira/browse/RF-186?page=all
There is :
- "a custom portlet driver as a result of merge MyFacesGenericPortlet and AJAXFacesPortlet classes. This was necessary because the Lifecycle and other myfaces classes uses some information that must be present in the request or session scopes. (RudderPortletDriver)"
- "A custom PortletViewHandler. We need to add the MyFaces ViewID to the ActionURL (Line 68)"
- overwrite in the classes directory of the Web application the org.richfaces.renderkit.ModalPanelRendererBase.java, because in the original file there was a sentence that cast the Context of the ExternalContext to a ServletContext that throws a ClassCastException.
and also : note :
One aspect related to the JBoss configuration. When the richfaces pages are so big (a lot of components, includes, popups etc.) the header of the response is greater that the size managed by default, causing a ArrayIndexOutOfBounds Exception y the Coyote Writer. Well this can be solved changing the value of the maxHttpHeaderSize in the Coyote Connector configuration (server/default/deploy/jbossweb-tomcat55.sar/server.xml).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060366#4060366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060366
18Â years, 9Â months
[JCA/JBoss] - Encypted Passwords in datasources: Custom Login Module?
by mskonda
I'm planning to use SecureIdentityLoginModule and PBEIdentityLoginModule for encrypting these passwords as it was mentioned on Wiki.
However, I have a particular requirement that in PBEIdentityLoginModule, the pbepass, salt and prefereably iteration count to be provided by secured config file(which can't be accessed by anone except sysadmin) rather than hardcoding in this login-config.xml.
So, my questions:
Looks to me that the PBEIdentityLoginModule doesn't do this. Hence is it possible for me to extend this class and implement my own way? Does it break any existing stuff? Is it adviasable to extend this class? Is there any alternative?
If I have my custom class being used in this situation, does this custom class need to take care of login stuff too apart from the encyrption/decryption as other modules are doing?
Any input much appreciated.
/Madhu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060365#4060365
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060365
18Â years, 9Â months