[JBoss-user] [The Lizzard's corner] - IllegalStateException in jboss.org forum

2005-03-30 Thread nlmarco
To whom it may concern. I just got the following IllegalStateException while I clicked on the link "Watch this topic for replies" and it seems reproduceable. What is really interesting, is that it only happens with this posting: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61981 I j

[JBoss-user] [Beginners Corner] - Re: javax.jms.JMSSecurityException

2005-03-30 Thread nlmarco
Hello Raja, thanks a lot for your help! "raja05" wrote : You have not specified create access for _LocalQueueReader_. that might be the problem.I've added 'create="true"', but unfortunately it had no effect. BTW: I had 'create="false"' in the "guest" role, before, and this worked if I don't u

[JBoss-user] [Beginners Corner] - javax.jms.JMSSecurityException

2005-03-29 Thread nlmarco
Hello *, I've a message driven bean subscribed to a queue. The queue is created with the following xxx-service.xml: | | | | | | | | | | java:/jaas/ipanemaLocal | jboss.mq:service=DestinationManager | | | |

[JBoss-user] [Beginners Corner] - Re: Hide a JNDI subcontext from remote clients

2005-03-29 Thread nlmarco
Seems to work! Thanks a lot!!! Marco ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871908#3871908 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871908 --- SF

[JBoss-user] [Beginners Corner] - Re: DeploymentException UnknownHostException www.jboss.org

2005-03-26 Thread nlmarco
I just tried it and my jboss here (version 3.2.6 with many ears, ejbs, rars & wars deployed) started without this exception. Maybe you have somewhere DTD validation enabled. Take a look into your ${jboss}/server/default/conf/jboss-service.xml and search for "ValidateDTDs". If this is false, you

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException

2005-03-26 Thread nlmarco
You should use "code" tags around your xml... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871692#3871692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871692 ---

[JBoss-user] [Beginners Corner] - Re: how to debug why an ejb is not getting deployed in jboss

2005-03-26 Thread nlmarco
Do you have an "application.xml" in the directory "accountlocate.ear/META-INF"? If not, create one and register your jars there. The jars in the deploy-directory are only automatically deployed if they aren't wrapped within an ear. As soon as you use an ear, you need an application.xml. Hope, I

[JBoss-user] [Beginners Corner] - Hide a JNDI subcontext from remote clients

2005-03-26 Thread nlmarco
Hello *, could someone please tell me whether JNDI can differentiate between a local and a remote access? I tested to lookup a resource adapter factory from a remote client and it failed with a NameNotFoundException. Hence, I assume, it is somehow possible to hide objects which are bound in JND

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Protect a queue from remote accesses and replace DLQ

2005-03-25 Thread nlmarco
Hello Adrian, first: Thanks a lot for the quick reply! "[EMAIL PROTECTED]" wrote : 1) Asking questions about security in the JMS forum? | My first question is about both, messaging and security, thus, I thought it would fit into either forum. Sorry. ...and the DLQ related question is purely

[JBoss-user] [Messaging, JMS & JBossMQ] - Protect a queue from remote accesses and replace DLQ

2005-03-25 Thread nlmarco
Hello *! I'm using a message queue to asynchronously execute time consuming tasks: A client connects to a stateless session bean which puts a task "envelope" into a queue. This task is then executed by a message driven bean. It all works fine, now, but is unsecure as everyone (even remotely) co

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Specification equivalent of DLQ

2005-03-25 Thread nlmarco
"cluck" wrote : Thats what I thought - pity, it is very useful behaviour but I can't use it an keep our app portable. As most of the J2EE implementations have it, why not rely on it being existent and just make configurable in your app what queue it is? We do it this way - hence our app is mayb

[JBoss-user] [Security & JAAS/JBoss] - Re: classic

2005-03-24 Thread nlmarco
Well, not exactly the same problem, but very similar (cascaded authentication within a server) and I think that you could use this solution in the client as well. It simply "sticks" the authentication information to the connection (your bean handle) instead of the thread. IMHO easier handling an

[JBoss-user] [Security & JAAS/JBoss] - Re: classic

2005-03-24 Thread nlmarco
"Darknight" wrote : Very interesting, but then if I have a multi threaded swing application (I do) how do I propagate that magical stuff? I have to call the server ejbs in a number of places and it's quite ugly to programmatically auth the user on every call. | I'm sure I'm not the only one us

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Specification equivalent of DLQ

2005-03-23 Thread nlmarco
Hello *! How can I replace the DLQ by another queue for one MDB? I tried to add the following into the jboss.xml of my deployed module, but it had NO effect: | | | Standard Message Driven Bean | | |

[JBoss-user] [Security & JAAS/JBoss] - Re: Cascading authentication

2005-01-05 Thread nlmarco
Hi Scott, thanks a lot for your answer! "[EMAIL PROTECTED]" wrote : The client jaas context is separate from the server jaas context. The client login configuration should not include the IpanemaServerLoginModule.As far as I understand it, there is only one login-config.xml, right?! So how can

[JBoss-user] [Security & JAAS/JBoss] - Re: Cascading authentication

2005-01-01 Thread nlmarco
...I forgot sth. in my previous post: If I call LoginContext.login() within my server bean, my server sided login module is triggered and fails! This is clear, because my server login module on server0 cannot authenticate [EMAIL PROTECTED] Here's an excerpt of my login-config.xml:

[JBoss-user] [Security & JAAS/JBoss] - Re: Cascading authentication

2005-01-01 Thread nlmarco
First I wish a happy new year to everyone!!! Scott, thank you very much for your help! It's a really useful information and I've updated our wiki with it. But anyway, IMHO it's quite error prone to manually login and logout whenever accessing a certain "backhand" connection (especially if you h

[JBoss-user] [Security & JAAS/JBoss] - Re: Cascading authentication

2004-12-30 Thread nlmarco
I figured it out myself after uncountable hours of debugging and code analysis. And in case anyone of you has the same problem, please feel free to use this solution: http://wiki.nightlabs.de/en/Library:NightLabsCascadedAuthenticationJBoss To the jboss team: Would it please be possible to "repa

[JBoss-user] [Security & JAAS/JBoss] - Cascading authentication

2004-12-29 Thread nlmarco
Hello *, JBoss is really great, but I still got a problem: After hours of analyzing the sources and stepping through them, I figured pretty much out how JBoss manages authentication. I was able to write an own Interceptor and an own LoginModule. Now, nearly all works as it should, but I don't