Thursday, December 20, 2012

Differences between WAS and WPS



WAS(Websphere Application Server)
WPS(Websphere Portal Server)
WAS provides platform of WPS.
WPS is one of enterprise Application in WAS (wps.ear).
WAS is not depend on database.
WPS  is depend on database.
Personalization   is limited to each application.
Provides very good  personalization.
WPS Authentication is done in WAS.
WPS can do only authorization.
Configuration data’s are stored in XML and property files.
Configuration / personalization data’s are stored in database , XML and property files.
Performance Measurement about page/portlet is measured in WAS.
Performance Measurement about page/portlet is not measured  in WPS
Both war/ear files can be deployed
Only war files can be deployed
We can develop portlet application.
Can develop Plain J2EE application, advanced J2EE Application. Using portlet container in WAS6.1, we can develop portlet application.
Portlet is directly accessible using URL.
In WebSphere Portal, you cannot directly access a portlet through a URL.
Security role references are currently only supported by WebSphere Application Server.
Security role references are not maintained in WebSphere Portal Server.
 

Thursday, December 13, 2012

Configuring the HTTP Basic Authentication Trust Association Interceptor

The following process explains how to Configuring the HTTP Basic Authentication Trust Association Interceptor  for the Websphere V7.0 Admin Console.
Perform the following steps to set the properties of the HTTP Basic Authentication Trust Association Interceptor:
  1. Log on to the IBM WebSphere Application Server administrative console.
  2. Click Security -> Global security.
  3. Click Web and SIP security -> Trust association.
  4. Make sure that the Enable trust association check box is checked.
  5. Click OK and then click Save if you checked the Enable trust association check box.
  6. Click Web and SIP security -> Trust association again.
  7. Click Interceptors -> com.ibm.portal.auth.tai.HTTPBasicAuthTAI.
Note: If com.ibm.portal.auth.tai.HTTPBasicAuthTAI is not available, run the following task to enable the interceptor: enable-http-basic-auth-tai-sitemgmt.
  1. Click Custom properties.
  2. Click the property you that want to change.
  3. Change the value for the property according to your requirements. 


  11. Click OK.
 12. Select other properties and change their values as required. 
 13. Click OK.
 14. Save your changes. 
 15. Restart the Server  


Thursday, November 1, 2012

Displaying node or server name in WebSphere portal theme



At the time of theme development, many of the developers may require to display node name or server name as part of theme development.

This is very useful to troubleshoot any issues in cluster node environments.

Just include the following line in footer or header jsp in the theme.


<%@page import="com.ibm.websphere.runtime.ServerName"%>

< !-- Server Full Name: <%=ServerName.getFullName()%> -->
< !-- Server Display Name: <%=ServerName.getDisplayName()%> -->