Hi!!
Inside an EJB you can have a FileStream representation using the classloader
and Threadl.
here goes a little sample:
ClassLoader loader =
Thread.currentThread().getContextClassLoader();
| InputStream stream = loader
|
Hi berrysx:
you can use the following to retrieve the subject on ejb3.
Subject subject = (Subject) ic.lookup(java:jaas/your protection
domain/subject);
where your protection domain stands for the protection domain name you've
declared login-config.xml
Best regards.
Gustavo
View the
thank you Wolfc. I´ve mannaged to set up my custom security code as a default
interceptor for all my EJB´s.
The problem i´m facing now is that i´m on Jboss 4.0.4GA with ejb3 (RC7?).
It seems that javax.interceptor.InvocationContext Interface doesn´t expose
getEJBContext method (It is supposed
Wolfc Thank you.
Now, could you please put some example? or do you have the exact title of the
book? thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047947#4047947
Reply to the post :
I'm dealing with an application that requieres custom security. Originally
security was dealt using a class implementing SecurityProxy interface, declared
on jboss.xml deployment descriptor.
After try the same configuration with ejb3 i've realized the proxy is not being
loaded or activated.
Is