You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Laures <ba...@googlemail.com> on 2011/06/07 14:41:30 UTC
Integrate own Authentication map
Hi,
i implemented my own Authentication Map class and want to configure ActiveMQ
so it uses it. Can anybody explain how i can do that?
Greetings,
Alexander
--
View this message in context: http://activemq.2283324.n4.nabble.com/Integrate-own-Authentication-map-tp3579459p3579459.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Integrate own Authentication map
Posted by Laures <ba...@googlemail.com>.
Default configuration with STOMP until:
<plugins>
<jaasAuthenticationPlugin configuration="activemq-domain" />
<bean id="authplug"
class="org.apache.activemq.security.AuthorizationPlugin"></bean>
</plugins>
In the end i want to inject my own authorization map into the default
authorizationPlugin.
PS: if i deactivate the validation i get the exception i described here:
http://activemq.2283324.n4.nabble.com/Configuration-of-Custom-Plugins-with-quot-bean-quot-Tags-inside-the-Plugin-Tag-causes-Exception-td3581876.html
--
View this message in context: http://activemq.2283324.n4.nabble.com/Integrate-own-Authentication-map-tp3579459p3581902.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Integrate own Authentication map
Posted by Dejan Bosanac <de...@nighttale.net>.
Can you share the configuration you're trying?
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Tue, Jun 7, 2011 at 3:16 PM, Laures <ba...@googlemail.com>wrote:
> Hi,
>
> i just tried to install the authenticationPlugin with my map by defining
> the
> plugin with a bean-tag inside the plugins tag.
>
> The result (with activemq 5.5) is
>
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'bean'. One of
> '{"http://activemq.apache.org/schema/core":authorizationPlugin,
> "http://activemq.apache.org/schema/core":connectionDotFilePlugin,
> "http://activemq.apache.org/schema/core":destinationDotFilePlugin,
> "http://activemq.apache.org/schema/core":discardingDLQBrokerPlugin,
> "http://activemq.apache.org/schema/core":forcePersistencyModeBrokerPlugin,
> "http://activemq.apache.org/schema/core":jaasAuthenticationPlugin,
> "http://activemq.apache.org/schema/core
> ":jaasCertificateAuthenticationPlugin,
> "http://activemq.apache.org/schema/core":jaasDualAuthenticationPlugin,
> "http://activemq.apache.org/schema/core":loggingBrokerPlugin,
> "http://activemq.apache.org/schema/core":multicastTraceBrokerPlugin,
> "http://activemq.apache.org/schema/core":simpleAuthenticationPlugin,
> "http://activemq.apache.org/schema/core":statisticsBrokerPlugin,
> "http://activemq.apache.org/schema/core":timeStampingBrokerPlugin,
> "http://activemq.apache.org/schema/core":traceBrokerPathPlugin,
> "http://activemq.apache.org/schema/core":udpTraceBrokerPlugin,
> WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Integrate-own-Authentication-map-tp3579459p3579557.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Re: Integrate own Authentication map
Posted by Laures <ba...@googlemail.com>.
Hi,
i just tried to install the authenticationPlugin with my map by defining the
plugin with a bean-tag inside the plugins tag.
The result (with activemq 5.5) is
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'bean'. One of
'{"http://activemq.apache.org/schema/core":authorizationPlugin,
"http://activemq.apache.org/schema/core":connectionDotFilePlugin,
"http://activemq.apache.org/schema/core":destinationDotFilePlugin,
"http://activemq.apache.org/schema/core":discardingDLQBrokerPlugin,
"http://activemq.apache.org/schema/core":forcePersistencyModeBrokerPlugin,
"http://activemq.apache.org/schema/core":jaasAuthenticationPlugin,
"http://activemq.apache.org/schema/core":jaasCertificateAuthenticationPlugin,
"http://activemq.apache.org/schema/core":jaasDualAuthenticationPlugin,
"http://activemq.apache.org/schema/core":loggingBrokerPlugin,
"http://activemq.apache.org/schema/core":multicastTraceBrokerPlugin,
"http://activemq.apache.org/schema/core":simpleAuthenticationPlugin,
"http://activemq.apache.org/schema/core":statisticsBrokerPlugin,
"http://activemq.apache.org/schema/core":timeStampingBrokerPlugin,
"http://activemq.apache.org/schema/core":traceBrokerPathPlugin,
"http://activemq.apache.org/schema/core":udpTraceBrokerPlugin,
WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Integrate-own-Authentication-map-tp3579459p3579557.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Integrate own Authentication map
Posted by Dejan Bosanac <de...@nighttale.net>.
Take a look at http://activemq.apache.org/interceptors.html for more info on
how to develop and install custom plugins.
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Tue, Jun 7, 2011 at 2:41 PM, Laures <ba...@googlemail.com>wrote:
> Hi,
>
> i implemented my own Authentication Map class and want to configure
> ActiveMQ
> so it uses it. Can anybody explain how i can do that?
>
> Greetings,
> Alexander
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Integrate-own-Authentication-map-tp3579459p3579459.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>