[jboss-dev-forums] [Design of Security on JBoss] - Issue with request.getUserPrincipal()

laknarayan do-not-reply at jboss.com
Fri Feb 15 13:54:50 EST 2008


Hi,

I am developing an web application with JAAS, Spring and JPA.
I will be validating the authentication of services by using following methods.

1. request.getUserPrincipal()
2. request.isUserInRole().

Both are working fine for sometime (apprx 1 min). After that both of them are returning NULL. ie. The request is losing the credentials.

Please help me to fix this issue.

Thanks,
Lakshmi Narayanan.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129760#4129760

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129760



More information about the jboss-dev-forums mailing list