Skip to content

Instantly share code, notes, and snippets.

@tsudot
Created December 3, 2015 13:13
Show Gist options
  • Select an option

  • Save tsudot/007c3993a99e4452e351 to your computer and use it in GitHub Desktop.

Select an option

Save tsudot/007c3993a99e4452e351 to your computer and use it in GitHub Desktop.
14:52:29,785 INFO [org.infinispan.jmx.CacheJmxRegistration] ISPN000031: MBeans were successfully registered to the platform MBean server.
14:52:29,786 WARN [org.keycloak.events] type=LOGIN_ERROR, realmId=master, clientId=admin-cli, userId=606df39f-80f6-4134-86bb-c2404e672284, ipAddress=127.0.0.1, error=invalid_user_credentials, auth_method=openid-connect, grant_type=password, client_auth_method=client-secret, username=addusertest-admin
14:52:29,789 INFO [org.keycloak.testsuite.KeycloakServer] Stopped Keycloak
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.023 sec <<< FAILURE! - in org.keycloak.testsuite.adduser.AddUserTest
addUserTest(org.keycloak.testsuite.adduser.AddUserTest) Time elapsed: 1.023 sec <<< ERROR!
javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:179)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:154)
at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:58)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:62)
at com.sun.proxy.$Proxy106.grantToken(Unknown Source)
at org.keycloak.admin.client.token.TokenManager.grantToken(TokenManager.java:59)
at org.keycloak.admin.client.token.TokenManager.getAccessToken(TokenManager.java:36)
at org.keycloak.admin.client.token.TokenManager.getAccessTokenString(TokenManager.java:31)
at org.keycloak.admin.client.resource.BearerAuthFilter.filter(BearerAuthFilter.java:31)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:384)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:102)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:62)
at com.sun.proxy.$Proxy102.findAll(Unknown Source)
at org.keycloak.testsuite.adduser.AddUserTest.addUserTest(AddUserTest.java:47)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment