A bit more.
This only happens when the authenticated user does not have the proper role to
access the URL.
I did forget to add, I am looking for the subject in a Valve.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956441#3956441
Reply to the post :
http
Seams my problem with SecurityAssociation is within a portected URL the
SubjectContext is null
2006-07-09 14:57:37,745 TRACE [org.jboss.security.SecurityAssociation]
getSubject, sc=null
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956435#3956435
Reply to
I need access to the users subject from a servlet. When I access a unprotected
URL I can retrive it just fine
example:
SecurityAssociation.getSubject()
and
PolicyContext.getContext("javax.security.auth.Subject.container");
But if I go to a protected URL, (the url-pattern under security-constr
Just thought I would fully verify my problem.
My bean class is empty except for empty method declarations. if the
EntityManager is named anything else other then em the beans local interface
is unavailable in the jndi tree. Calling the EntityManager em or removing the
annotation makes the bean
Yes that's all I have done. em is not referenced or overridden anywhere in my
code. only used (IE em.find() etc..)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933935#3933935
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
I renamed entityManager to em and new it woks fine. now out of curiosity is
this how annotations are suppose to work?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933039#3933039
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
Hi.
I have a SessionBean which works fine until I place the PersistenceContext
annotation. as below
| @PersistenceContext(unitName="korsesus")
| protected EntityManager entityManager;
|
After this the SessionBean local or remote interfaces are s no longer visible
from the jndi tre