cancel
Showing results for 
Search instead for 
Did you mean: 

LoginModule - ticket Stack - get username without sharedState.get()

Former Member
0 Kudos

Hello all

I already successfully developed a custom LoginModule for the ticket-Stack (NW 7.0.0) where the username (j_user) is read with the method sharedState.get(javax....). My module is in the third place (after BasicPasswordLoginModule), and I suppose it works great because the BasicPasswordLoginModule puts the username into sharedState.

Now I'd like to develop another LoginModule, but it should be BEFORE the BasicPasswordLoginModule. The problem is that I cannot receive the username the way mentioned above, presumably because it was not put into sharedState.

My question is: How can I access the username in the same way as the BasicPasswordLoginModule? Because when I try to access it the way the LoginModule-Tutorial says I receive a false one, not the one included in the ServletRequest...

Any help or comment is greatly appreciated! Rewards are a matter of course!

If something is not clear I'm going to explain it in detail, just say so...

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I couldn't solve this particular question. But I made a workaround and it works for me.