my dog learned polymorphism*
The moose likes Websphere and the fly likes Websphere Java 2 Security Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere Java 2 Security Problem" Watch "Websphere Java 2 Security Problem" New topic
Author

Websphere Java 2 Security Problem

sumeet Jain
Greenhorn

Joined: May 25, 2006
Posts: 8
Hi All,

I have enabled a login for local registry for my WAS 6.0 .Successfully. But the problem is the application which was running fine has stopped running .
I m getting java.io error no permission .....
Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to Problem Determination Guide for further information.

Permission:

suppressAccessChecks : access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)


I checked out for my problem ... But no luck
I have also configured other Operator role, Administrator role, all the four roles.

But this problem is like the deployed application without Security enabled works fine but ones enabled it cannot access.

Am I missing something ..... For a container to read its deployed application ..... What is the security .. I thought it was only for the users who are trying to access the console for deploying new applications ....

But not for the deployed app .... Im using SWAP (though it has become obsolete according to IBM ) and LOCAl OS user registeries ....

Can any throw some light sort of confussed (

Thanx ....

Cheers,
Sumeet
[ June 04, 2006: Message edited by: Bear Bibeault ]
sumeet Jain
Greenhorn

Joined: May 25, 2006
Posts: 8
Hi ,

I have found that my .ear files do not have any was.policy file. This is the main culprit for me getting access errors.
That brings me to my next doubt .
a) IS there any need for me to do code changes ?
Coz for web portions there are examples in which there are a few code changes .....
Cant I just give codeBase access to every module ... Without any programatic changes ?
Please advice ....

Cheers,
Sumeet
sumeet Jain
Greenhorn

Joined: May 25, 2006
Posts: 8
Hi All,

Where can I find tutorials on editing of policy files for WAS .

As for now just get my server running and not give me any exception I have given by default
java.security.AllPermission

to all my code base's

any help .....


cheers,
Sumeet
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere Java 2 Security Problem
 
Similar Threads
Problems with security policies for Axis2 in Tomcat
RAD - WAS6 Admin Console -Error page exception
security question : security-role + method permission
JAAS and Policy files problems
Security Policy with WAS