I seem to be having the same problem as well. I've configured the web
application with the correct Security Domain and added the annotation to the
SLSB but I still see the following in the deployment log:
20:36:41,562 INFO [Ejb3AnnotationHandler] found EJB3:
ejbName=au.com.pulse.online.ejb3.creditcard.CreditCardFacadeBean,
class=au.com.pulse.online.ejb3.creditcard.CreditCardFacadeBean, type=STATELESS
20:36:41,687 INFO [JaccHelper]
au.com.pulse.online.ejb3.creditcard.CreditCardFacadeBean has no @SecurityDomain
- skipping JACC configuration
20:36:41,718 INFO [Ejb3AnnotationHandler] found EJB3:
ejbName=au.com.pulse.online.ejb3.entity.EntityFacadeBean,
class=au.com.pulse.online.ejb3.entity.EntityFacadeBean, type=STATELESS
20:36:41,796 INFO [JaccHelper]
au.com.pulse.online.ejb3.entity.EntityFacadeBean has no @SecurityDomain -
skipping JACC configuration
20:36:41,812 INFO [JaccHelper] JACC Policy Configuration for deployment has
been put in service
20:36:41,812 INFO [Ejb3Deployment] EJB3 deployment time took: 297
Yet the code has:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.aspects.security.SecurityDomain;
import au.com.pulse.online.ejb3.AbstractFacadeBean;
import au.com.pulse.online.ejb3.ValidationException;
import au.com.pulse.online.ejb3.bi.creditcard.ICreditCardFacade;
import au.com.pulse.online.persistence.ejb.crm.CreditCardDetail;
@Stateless
@SecurityDomain ("pulse-domain")
public class CreditCardFacadeBean extends AbstractFacadeBean implements
ICreditCardFacade {
My main issue is that I get an IllegalStateException when I call
getCallerPrincipal().
Anybody got any ideas?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910881#3910881
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910881
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user