[jboss-dev-forums] [JBoss Portal Development] - JBOSS Portal Security
spring
do-not-reply at jboss.com
Fri Sep 4 04:24:04 EDT 2009
Hello;
1) After an authentification by JAAS login ( its a developped module), I tried to find the subject object, but I have null value :
String SUBJECT_CONTEXT_KEY = "javax.security.auth.Subject.container";
Subject caller = (Subject) PolicyContext.getContext(SUBJECT_CONTEXT_KEY);
2) When I tried to have the request Object like this
HttpServletRequest request = (HttpServletRequest) PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
- getUserPrincipal().getName() = value not null but roles are null
Could you help me
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253494#4253494
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253494
More information about the jboss-dev-forums
mailing list