|
Home > Archive > WebSphere Application Server > November 2005 > JAAS - Do I have to use WSSubject.doAs()
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
JAAS - Do I have to use WSSubject.doAs()
|
|
|
| WebSphere 6.0.2.3 & RAD 6.0.1.
Is there anyway to not use the WebSphere specific WSSubject class, but instead use Subject, and thus not include WAS specifics in my code?
It seems that in order to authenticate before I bind/rebind an object to JNDI, I have to use WSSubject.doAs as plain Subject.doAs doesn't work!
Thanks.
| |
| Paul Ilechko 2005-11-30, 5:56 pm |
| danny.robinson@chordiant.com wrote:
> WebSphere 6.0.2.3 & RAD 6.0.1.
>
> Is there anyway to not use the WebSphere specific WSSubject class,
> but instead use Subject, and thus not include WAS specifics in my
> code?
>
> It seems that in order to authenticate before I bind/rebind an object
> to JNDI, I have to use WSSubject.doAs as plain Subject.doAs doesn't
> work!
Can you take a step back here ... you should not ever need to do a
subject.doAs, with or without the WS. Why do you need to do this? How
are you authenticating to the container?
|
|
|
|
|