permaculture playing cards*
The moose likes Websphere and the fly likes The website declined to show this webpage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "The website declined to show this webpage" Watch "The website declined to show this webpage" New topic
Author

The website declined to show this webpage

Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183

I was setting up another profile in my local machine to mirror an existing WAS 6.1 server setting which has application security authenticating with LDAP. When I try to hit the application in the new server I get the following exception

SECJ0129E: Authorization failed for testUser while invoking GET on default_host:LDAPTestApp/, Authorization failed, Not granted any of the required roles: tst

I checked a couple of forums and noticed that I had to update
Enterprise Applications > LDAPTestApp > Security role to user/group mapping and check All authenticated? checkbox.

But I get an error message when I apply this change
"Exception thrown in RequiredModelMBean while trying to invoke operation setApplicationInfo null"

Also, I notice that my Enterprise Application Project does not have ibm-application-bnd.xmi. Is this an issue ?
Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
I have fixed it, more of a hack. The issue is not with the server created but the EAR. When I copied over the Enterprise Application Project instead of creating a new one and adding the modules to this copied EAP it worked. This was because ibm-application-bnd.xmi was present and the admin console also showed All authenticated? checked.

This is a hack, is there a way to actually create a Enterprise Application Project and add the modules in and yet make the security work ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The website declined to show this webpage
 
Similar Threads
unable to get response from payment website
MultiDimenaional Array sort
There is no Action mapped for action name prePaymentManager
security issues regarding EJB in websphere
EJB 3.0 and EJB 2.1 Integration