[jboss-user] [JBoss Messaging] - Exception during message publsih
desuraghu
do-not-reply at jboss.com
Tue Jul 21 15:00:32 EDT 2009
I have configured my own security config for a topic.
When i am trying to publish a message on that topic i m getting the following exception. Can any one help in resolving this problem.
I have configured security config in destination-service.xml file.
2009-07-21 23:51:33,078 TRACE [org.jboss.jms.server.security.SecurityMetadataStore] authenticating user internalApplication
2009-07-21 23:51:33,078 TRACE [org.jboss.jms.server.security.SecurityMetadataStore] authorizing user internalApplication for role(s) [ApplicationUserRole]
2009-07-21 23:51:33,078 TRACE [org.jboss.jms.server.security.SecurityMetadataStore] user internalApplication is NOT authorized
javax.jms.JMSSecurityException: User: internalApplication is not authorized to write to destination eventTopic
at org.jboss.jms.server.container.SecurityAspect.check(SecurityAspect.java:312)
at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245095#4245095
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245095
More information about the jboss-user
mailing list