activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <james.strac...@gmail.com>
Subject Re: Endless Failed to log in, Forbidden with hawt.io
Date Mon, 04 Nov 2013 16:55:47 GMT
Incidentally in later hawtio releases we tried to make the explicit
speciifying of rolePrincipleClasses optional which seems to make it easier
to authenticate on different containers (older karaf, tomcat etc) so maybe
upgrading to 1.2-M27 of hawtio might help?


On 4 November 2013 16:52, gmicky <michal.gubik@gmail.com> wrote:

> Hello Francesco,
>
> I was struggling with same issue and it was due to custom startup script
> for
> activemq which declared variable ACTIVEMQ_OPTS. If this variable is
> previously declared - options from /apache-activemq-5.9.0/bin/activemq
> script are not loaded and hawio authentication is not working.
>
>
> After you start activemq use ps and check that JVM is started with
> following
> options:
>   -Djava.util.logging.config.file=logging.properties
> -Dhawtio.realm=activemq
> -Dhawtio.role=admins
> -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal
> -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config"
>
> Without these you wont be able to authenticate into hawio
>
> Michal
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Endless-Failed-to-log-in-Forbidden-with-hawt-io-tp4673183p4673839.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
James
-------
Red Hat

Email: jstracha@redhat.com
Web: http://fusesource.com
Twitter: jstrachan, fusenews
Blog: http://macstrac.blogspot.com/

Open Source Integration

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message