[jboss-user] [JBoss Seam] - Re: External Client and Seam Security

2007-11-30 Thread agnadello
http://jira.jboss.org/jira/browse/JBSEAM-2332 Cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109492#4109492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109492 ___

[jboss-user] [JBoss Seam] - Re: External Client and Seam Security

2007-11-29 Thread agnadello
I give up! Thanks a lot Shane for all your help. I wasn't able to use the interceptor you suggested. I tried to add it to the default stack by Component.forName(...).addInterceptor(...) but ended up with ArrayIndexOutOfBounds etc. My second try was to use a regular EJB3 interceptor which does

[jboss-user] [JBoss Seam] - Re: External Client and Seam Security

2007-11-29 Thread agnadello
About it being a common scenario or not... Given the following: - I'd like to have one single EJB Entity bean model for my application. - My EJB Entity beans is annotated with the @Restrict tag for use in Seam. - My Entity beans is configured to use Seam Entity Security (orm.xml). - I have a

[jboss-user] [JBoss Seam] - Re: External Client and Seam Security

2007-11-27 Thread agnadello
Thank you. One step further... no more IllegalStateException. Instead the Identity doesn't seem to be populated with any subject/principals. The @Restrict annotation don't kick in, neither the Drools rules. Do you know if it's possible to make use of the Seam security if the Session Beans and

[jboss-user] [JBoss Seam] - No ContextPolicy?

2007-11-26 Thread agnadello
Hello, I've been playing with JBoss Security and currently I'm facing the following stacktrace: 21:38:40,598 WARN [JmxKernelAbstraction] jboss.j2ee:ear=sio.ear,jar=jboss-seam-2.0.0.GA.jar,name=EjbSynchronizations,service=EJB3 is not registered | 21:38:40,598 DEBUG [Ejb3Module] Starting

[jboss-user] [JBoss Seam] - Re: No ContextPolicy?

2007-11-26 Thread agnadello
I'm stupid. I'd by mistake included the jboss-sx.jar in my EJB-JAR :-( Never mind this post. Cheers! Regards, Andreas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107888#4107888 Reply to the post :

[jboss-user] [JBoss Seam] - External Client and Seam Security

2007-11-26 Thread agnadello
Hi, I've configured Seam to use drools in my security setup according to Seam docs, chapter 13. Everything works fine... I also have a QuartzInitializerServlet starting up jobs (POJO's): public void execute(final JobExecutionContext theJobExecutionContext) | throws

[jboss-user] [EJB 3.0] - Re: Lazy byte array gets loaded on query

2006-09-25 Thread agnadello
Solved it! Using a java.sql.Blob instead of byte array. Strange, because the docs says you could use both?! Anyways, problem has vanished :-) Cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973980#3973980 Reply to the post :

[jboss-user] [EJB 3.0] - Lazy byte array gets loaded on query

2006-09-22 Thread agnadello
Hello, I'm trying to specify a property in my entity bean (called Appendix) as lazy loaded by the following annotations: | @Lob | @Basic(fetch = FetchType.LAZY) | @Column(name = DOCUMENT, nullable = true) | public byte[] getDocument() { | return this.document; | } | What I

[jboss-user] [EJB 3.0] - Re: Lazy byte array gets loaded on query

2006-09-22 Thread agnadello
Hi Stefan and thanks for your answer! So, creating another table for the blob and referencing it from my Appendix entity is the way to do it right now? That sucks! :-( Well, I hope they fix it soon... Thank you anyways! Regards, Andreas View the original post :