File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes How to implement User Registry  differently for each EAR installed in the same WAS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to implement User Registry  differently for each EAR installed in the same WAS" Watch "How to implement User Registry  differently for each EAR installed in the same WAS" New topic
Author

How to implement User Registry differently for each EAR installed in the same WAS

giang nguyen
Ranch Hand

Joined: May 13, 2003
Posts: 42
Hi,
I am using WAS 5.0 and write a custom user registry for my own EAR file. But the problem is, with one installation of WAS, all other EAR applications installed will have to share this user registry implementation if they are to use standard J2EE security.
This cause a lot of trouble for me because my user registry implementation have to take into account the security for Admin console and any other EAR file using standard J2EE security.
Does any of you know how to configure WAS so that user registry for different node or server can be different too.
Many thanks


SCJP 1.4, SCWCD
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
It will not work. The same registry must be used across all the servers and nodes in the cell. That's just the way the product is designed.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
giang nguyen
Ranch Hand

Joined: May 13, 2003
Posts: 42
Originally posted by Kyle Brown:
It will not work. The same registry must be used across all the servers and nodes in the cell. That's just the way the product is designed.

Kyle


Thanks very much Kyle.
BTW, do you know how to get more information from the websphere internal servlet that handle security? I need a custom error page that display information about the failed user. For example "Your account is blocked after 3 successive login failure". At present, I find no way to get more information about the status of user, only success or failure.
Jay Martin
Greenhorn

Joined: May 13, 2004
Posts: 1
I thought the users were to have different roles, not different registries.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to implement User Registry differently for each EAR installed in the same WAS
 
Similar Threads
Why JAAS ?
How to implement User Registry differently for each EAR installed in the same WAS
Regarding WAS administration
jar and war file
Regarding WAS administration