activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kemi2015 <keliang_...@126.com>
Subject Re: REST API client ecountering Status 401 -- Unauthorized
Date Fri, 10 Apr 2015 03:59:02 GMT
I had met your issue,then I had to reset the jetty's properties file,then it
can run well.

 <bean id="securityConstraint"
class="org.eclipse.jetty.util.security.Constraint">
        <property name="name" value="BASIC" />
        <property name="roles" value="user,admin" />
        
        <property name="authenticate" value="false" />  *update this tag to
false*
  </bean>

NOTE:
I think you didn't set the security is right,so you need to define user and
password of jetty.




--
View this message in context: http://activemq.2283324.n4.nabble.com/REST-API-client-ecountering-Status-401-Unauthorized-tp4666184p4694678.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message