Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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...


Former Member
Not what you were looking for? View more on this topic or Ask a question