wood burning stoves*
The moose likes Java Micro Edition and the fly likes Accessing a SiteMinder protected page in Midlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Accessing a SiteMinder protected page in Midlet" Watch "Accessing a SiteMinder protected page in Midlet" New topic
Author

Accessing a SiteMinder protected page in Midlet

RoshanLal Dawrani
Greenhorn

Joined: Oct 03, 2006
Posts: 4
Hi,
I am trying to access a SiteMinder protected webpage in my midlet but not able to. Once I am authenticated, I am supposed to recieve a cookie by name SMSESSION. That cookie is not coming back. Other non-Siteminder cookies are coming as expected. What could be wrong?
If I run the exact same piece of code in the emulator, I get the SMSESSION cookie as well but not when I run it on the device.

Can someone please help?

Thanks and regards,
Roshan
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Have you tested this against another device (model-wise) than the one that you've had your failure with? I'm wondering if it's not perhaps something device-specific that's causing the problem.


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
RoshanLal Dawrani
Greenhorn

Joined: Oct 03, 2006
Posts: 4
Hi,
No, I have not tested it on any other device. Unfortunately, I do not have access to another device that I could have tested it on.

Any thoughts on what could be causing the problem on this particular device? Any potential pointers will be very much appreciated.

Thanks,
Roshan
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Originally posted by RoshanLal Dawrani:
No, I have not tested it on any other device. Unfortunately, I do not have access to another device that I could have tested it on.

Any thoughts on what could be causing the problem on this particular device? Any potential pointers will be very much appreciated.


Well, without testing it on another device (and the fact that you've said it works in the emulator), we can't rule out that it's not a device-specific problem. The fact that it's working in the emulator would encourage me that this might be the case.

Though... you've also not mentioned what device this is.
RoshanLal Dawrani
Greenhorn

Joined: Oct 03, 2006
Posts: 4
My mistake. The device I am using is Nokia 6600.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing a SiteMinder protected page in Midlet
 
Similar Threads
Non-browser Java app - posting to a URL
Overlapped IO operation is in progress
Cookie object return incorrect value
Killing cookies when session is invalidated
Problem HTTPSURLConnection for Siteminder authentictaion