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.

Reply via email to