A good article that describes websphere classloading policies ... PARENT_FIRST, PARENT_LAST etc...
J2EE Class Loading Demystified
A Look At The Java Class Loader
Saturday, December 10, 2005
Turn Off WAS Global Security
If you happen to forget WebSphere administrative console password, or are locked out due to user registry problems etc and cannot login to your admin console, you may want to turn off WebSphere Application Server global security from outside the administrative console so that you can login to admin console. To do so you can either change the security.xml file of WAS or use the wsadmin tool for it.
Using WAS command-line client wsadmin (run with root privileges):
1. Open a connection to local WAS in offline mode
wsadmin -conntype NONE
2. Turn off global security
wsadmin> securityoff
3. Save
wsadmin> $AdminConfig save
Originally documented by Bill Higgins and Bobby Woolf.The only other alternative is to modify the WAS_HOME\config\cells\cellname\security.xml file in your was directy
Using WAS command-line client wsadmin (run with root privileges):
1. Open a connection to local WAS in offline mode
wsadmin -conntype NONE
2. Turn off global security
wsadmin> securityoff
3. Save
wsadmin> $AdminConfig save
Originally documented by Bill Higgins and Bobby Woolf.The only other alternative is to modify the WAS_HOME\config\cells\cellname\security.xml file in your was directy
TAM Configuration
Tivoli Access Manager Configuration Steps for using AznAPI:
1.) Configure AMRTE
2.) Configure AMJRTE (This will install the necessary library files on the system.)
3.) Use SvrSslCfg to create the properties and keystore files.
4.) Copy the .properties file to PDPerm.properties file in websphere java/jre directory.
5.) Make sure the .properties file points to the correct keystore(.ks) file.
Co-locating Tivoli Access Manager with websphere
1.) Configure AMRTE
2.) Configure AMJRTE
3.) Configure AM Authz Server
4.) Use SvrSslCfg to obtain the appropriate properties and keystore files and copy them to the appropriate directories as mentioned above.
5.) Use the local authz server while using SvrSslCfg. Alternatively just modify the "appsvr-authzsvrs" variable in the properties file to point to the local authz server.
6.) While configuring the Authz Server, the AMRTE had to be re-configured. The reason for having to do so, has not been identified.
Note: If the connection to the authz server is broken in the process of authorization,then the authz server does not throw an exception but simply returns false to the authz query.
1.) Configure AMRTE
2.) Configure AMJRTE (This will install the necessary library files on the system.)
3.) Use SvrSslCfg to create the properties and keystore files.
4.) Copy the .properties file to PDPerm.properties file in websphere java/jre directory.
5.) Make sure the .properties file points to the correct keystore(.ks) file.
Co-locating Tivoli Access Manager with websphere
1.) Configure AMRTE
2.) Configure AMJRTE
3.) Configure AM Authz Server
4.) Use SvrSslCfg to obtain the appropriate properties and keystore files and copy them to the appropriate directories as mentioned above.
5.) Use the local authz server while using SvrSslCfg. Alternatively just modify the "appsvr-authzsvrs" variable in the properties file to point to the local authz server.
6.) While configuring the Authz Server, the AMRTE had to be re-configured. The reason for having to do so, has not been identified.
Note: If the connection to the authz server is broken in the process of authorization,then the authz server does not throw an exception but simply returns false to the authz query.
Security Attribute Propagation Security Attribute Propagation in WebSphereSecurity attribute propagation provides propagation services using Java serialization for any objects that are contained in the Subject. And since serialization problems can occur when dealing with multiple platforms Websphere application server also offers a token framework that enables custom serialization fucntionality. When a request is being authenticated, a determination is made by the login modules whether this is an initial login or a propagation login.
- An initial login is the process of authenticating the user information, typically a user ID and password, and then calling the application programming interfaces (APIs) for the remote user registry to look up secure attributes that represent the user access rights.
- A propagation login is the process of validating the user information, typically an Lightweight Third Party Authentication (LTPA) token, and then deserializing a series of tokens that constitute both custom objects and token framework objects known to the WebSphere Application Server.
Trust Associations in WAS
From Websphere Information Center.
http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1/index.jsp?topic=/com.ibm.wasee.doc/info/welcome_ee.html
http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1/index.jsp?topic=/com.ibm.wasee.doc/info/welcome_ee.html
Struts Error
Struts error "Cannot find bean under name org.apache.struts.taglib.html.BEAN"
Check:
1.) Improper use of a struts tag.
2.) Form bean properties not properly set.
3.) When using tiles, make sure that forms are not nested.
4.) When <html /> <html:xxxxx> is defined outside of <html:form> </html:form>
Subscribe to:
Posts (Atom)
Popular Posts
-
This post will describe how to create and deploy a Java Web Application war to Heroku using Heroku CLI. You will need a basic understanding ...
-
JUnit 4 introduces a completely different API to the older versions. JUnit 4 uses Java 5 annotations to describe tests instead of using in...
-
In a previous post, I described how to use Quartz scheduler for scheduling . In this post, I describe the configuration changes required for...
-
In the past, I had a few posts on how to implement pagination using displaytag( 1 , 2 ). That solution is feasible only with small result se...
-
The previous post described the Strategy pattern in brief. I listed out where and why the strategy pattern may be used. This post describes...
-
Acegi Security provides a comprehensive security solution for J2EE-based enterprise software applications, built using the Spring Framework...
-
The previous post described how to implement a JMS messaging client using Spring JMS . This post will describe how to implement the Message ...
-
This is an example code for a simple PDF merge using iText 5. We use three InputStream s in a List as input and merged file is written to th...
-
Direct Web Remoting (DWR) , is an open source Java library that can be used to implement Ajax in Java web applications with minimal Javascri...
-
New posts with iText 5.5.12 Following are two new posts for PDF Merge with iText 5.5.12 Merge PDF files using iText 5 Merge and Paginate PDF...