Win a copy of Terraform in Action this week in the Cloud forum!

J Abraham

Ranch Hand
+ Follow
since Jun 25, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by J Abraham

Hi,

I'm migrating an enterprise application which has Websphere server 5.1 as the base server to WAS 6.1. After deploying the ear file in new WAS6.1, I can't login to web-application. When I invoke the Login Action class, screen displays with few html open tags. After debugging I found that issue happens in one of the four custom filters. So when the request passes through the four filters everything is ok but when response is send back and it reaches the second filter it produces an error saying 'Response already committed: cannot forward response'. Whole code including filter implementation was working fine in WAS5.1, so I think there is no need for change in filter implementation. Does any one knows any custom property to resolve this issue ?

Thanks,
J.
11 years ago

Jibin Abraham wrote:Hi,

Does any one had this issue. The 'server location' tab in the server configuration page of tomcat 6.0.20 is disabled. I need to enable it so that I can change the deployment path. IDE - Eclipse Galileo

Thanks,

J.

Hi,

Please close this topic as the issue is already resolved.

Thanks,
J
Hi,

Does any one had this issue. The 'server location' tab in the server configuration page of tomcat 6.0.20 is disabled. I need to enable it so that I can change the deployment path. IDE - Eclipse Galileo

Thanks,

J.
Thanks Jesper. I contacted the SUN-UK and they sortd it out.
Hi Ranchers,

Sun says SCJP vouchers are one year valid, but the validity end date written on my voucher is 30th July '09. I bought it on 14th Nov '08 through Sun Website.

Does anyone knows whom to contact for issues related to Sun Vouchers.

I send few mails to

certification@educationservicesgroup.com.
ses_uk@sun.com

no response.


Any thoughts?

J.
Hi,

I'm creating a java class for authentication and retrieving the role. i'm using oracle jaas provider(jazn) for this. i would like to know how to retrieve the role for an authenticated user. i searched the API but i couldn't find the method to retrieve 'role'. Can anyone help me ?
14 years ago
Hi,

I'm creating a java class for authentication and retrieving the role. i'm using oracle jaas provider(jazn) for this. i would like to know how to retrieve the role for an authenticated user. i searched the API but i couldn't find the method to retrieve 'role'. Can anyone help me ?
14 years ago
Hi Nitesh,

Thanks for the reply.


Originally posted by Nitesh Kant:

The policy file is defined statically and in your case it should have entries for all the screens you want to protect.
At runtime, you will check for permissions on one of the screens defined statically(in policy file), using AccessController.checkPermission() passing the permission object containing the name of the screen and the action to check. This will be done for the authenticated resource(subject).




Do you have any examplefor this ?
14 years ago
Nitesh,

In my case i'm getting role(principal) after authentication, form name(it may be a class) as i'm using a desktop application. i just want to check the permission by checking policy file. the arguments are role and the name of class. but i need boolean value as return. would the code that you have posted work in my case.
14 years ago
Nitesh,

In my case i'm getting role(principal) after authentication, form name(it may be a class) as i'm using a desktop application. i just want to check the permission by checking policy file. the arguments are role and the name of class. but i need boolean value as return. would the code that you have posted work in my case.
14 years ago
Hi,

This is a policy file created by me...

grant principal security.MyPrincipal "ADMIN" {
permission security.WPermission "uiScreen" , "read,write";
};

My doubt is How to send the screen name "uiScreen" to permission class ?
14 years ago
Hi,

Can you post a sample policy file if you got.
14 years ago
Hi Nitesh,

So you say security.Mypermission is a user defined class where he can set the permissions for a file/directory.

Can you post a sample Myprincipal and Mypermission file?
14 years ago