cancel
Showing results for 
Search instead for 
Did you mean: 

Read MYSAPSSO2 Cookie

Former Member
0 Kudos

Hi

I am writing a java webdynpro application which is running inside portal.

Working on NW2004s sp11. I would like to retrieve MYSAPSSO2 Cookie in my

webdynpro application. please let me know if it is possible or not.

Thank you

With Wishes

Krishna kanth

Accepted Solutions (1)

Accepted Solutions (1)

sid_sunny
Contributor
0 Kudos

Hi Siddi,

Check out this [Blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2592] [original link is broken] [original link is broken] [original link is broken];, it may help you.

Regards

Sid

Former Member
0 Kudos

Hi

Thanks for the reply.

Even the the Blog speaks about BSP Page. It was nice to read the comments below to get my Answer.

Thank you

With Wishes

Krishna kanth

Former Member
0 Kudos

I want to do the same in my webdynpro application and I could not follow the blog answers , Can you explain in little more detail on how to check this cookie "MYSAPSSO" value in webdynpro application.

Thank you,

Sunitha.

former_member295871
Discoverer
0 Kudos

Hi,

try this.

private String getSSOTicket() {

IWDMessageManager msgMgr =

wdThis.wdGetAPI().getComponent().getMessageManager();

try {

return (String) WDClientUser

.getCurrentUser()

.getSAPUser()

.getTransientAttribute(

"com.sap.security.core.usermanagement",

"MYSAPSSO2_STRING");

} catch (WDUMException e) {

//report exception }

return "";

}

Answers (0)