we wre developing an application using java mail and EJB...we have to open the inbox folder to read mails ...this code is in MailBean class file..it gives a security error when trying to open the inbox...
can u please tell us how to implement the EJB security feature in our bean..we are ussing j2ee server.
Mail us at anurahil at yahoo dot com
I am not sure if my answer will help you as I could not understand your question completely (it would have been better if you could have provided the dump of the error you are getting). However, if try to fiddle around the .policy files (e.g. in BEA's Weblogic Server it is weblogic.policy) you might be able to define the security settings.
Email: neerajgupta at india dot infogain dot com