Reputation: 1397
I am using form based authentication with Websphere app server (j_security_check). I want to log the value of j_username
. I am not able to do so since I get request.getUserPrincipal()
as null
. I am not able to get any methods in SecurityContextHolder
and I am even getting request.getRemoteUSer
as null
even on my error page as configured in web.xml.
Already tried the below things:
Also, I am not invalidating the session during this process.
Upvotes: 1
Views: 1625