Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13546

Basic authentication is failing

XMLWordPrintable

      Execute
      ./cli user create admin -p admin

      Change infinispan.xml to

      <endpoints>
         <endpoint socket-binding="default" security-realm="default">
            <hotrod-connector name="hotrod" />
            <rest-connector name="rest">
               <authentication mechanisms="BASIC" />
            </rest-connector>
            <memcached-connector socket-binding="memcached" />
         </endpoint>
      </endpoints>
      

      Start the server and execute curl http://admin:admin@127.0.0.1:11222/rest/v2/caches/ -v

              ttarrant@redhat.com Tristan Tarrant
              dlovison@redhat.com Diego Lovison
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: