You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Nikola Goran Cutura (JIRA)" <ji...@apache.org> on 2006/10/31 23:25:02 UTC
[jira] Updated: (AMQ-826) LDAP based authorization support
[ https://issues.apache.org/activemq/browse/AMQ-826?page=all ]
Nikola Goran Cutura updated AMQ-826:
------------------------------------
Attachment: ApacheDSEmbedded.zip
Attached is eclipse project that starts embedded ADS with supplied LDIF file, perfoms some query and closes the server. Intention is to use the template in unit tests.
I was able to run this as it is but I wasn't able to run it in activemq-core and activemq-jaas eclipse projects. I tried to add libraries but I always ended up with exception, both in core and jaas modules:
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in file [C:\ActiveMQ\activemq\activemq-jaas\server.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.directory.server.configuration.MutableServerStartupConfiguration]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.directory.server.configuration.MutableServerStartupConfiguration]: Constructor threw exception; nested exception is java.lang.IncompatibleClassChangeError
Caused by: java.lang.IncompatibleClassChangeError
at org.apache.directory.server.core.authn.AuthenticationService.<clinit>(AuthenticationService.java:66)
at org.apache.directory.server.core.configuration.StartupConfiguration.setDefaultInterceptorConfigurations(StartupConfiguration.java:161)
at org.apache.directory.server.core.configuration.StartupConfiguration.<init>(StartupConfiguration.java:88)
at org.apache.directory.server.configuration.ServerStartupConfiguration.<init>(ServerStartupConfiguration.java:65)
at org.apache.directory.server.configuration.MutableServerStartupConfiguration.<init>(MutableServerStartupConfiguration.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:59)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:52)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:639)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:625)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:89)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:74)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:65)
at org.apache.activemq.jaas.ldap.SimpleFileConfiguredServer.main(SimpleFileConfiguredServer.java:27)
> LDAP based authorization support
> --------------------------------
>
> Key: AMQ-826
> URL: https://issues.apache.org/activemq/browse/AMQ-826
> Project: ActiveMQ
> Issue Type: Improvement
> Reporter: james strachan
> Assigned To: Nikola Goran Cutura
> Attachments: ApacheDSEmbedded.zip, LdapAuth.zip
>
>
> Patch kindly added by ngcutura - discussion thread...
> http://www.nabble.com/LDAP-Authorization-tf1851705.html#a5344494
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira