Enforce Idp login instead of local account for Idp linked accounts?
by Byte Flinger
I would like to setup Keycloak with integration towards a SAML Idp but I
have run into a few things I am uncertain how to solve. One thing to keep a
note of is I would like to have the option of using local accounts for
certain users so when mentioned the details below I mean only for the users
who have linked their account through Idp.
1. Is there any way to only have "Verify existing account by
Re-authentication" without "Create User If Unique" in my flow? I want only
users with an existing account to be able to link and login through the Idp
but I do not want a new local account to be created if the Idp user does
not have one already. When I remove the "Create User If Unique" the flow
does not work and I immediately get a "username/password incorrect" error
when I try to login through the Idp
2. Once a user has logged in through the Idp and linked his account, is
there any way to completely disable the local account so the user has to
login through the Idp account (So removal of users on the Idp side, for
example, can be enforced)? If not, maybe some way to achieve the behaviour
by expiring the password for that specific user or something of the sort
3. The idea here is to try to take advantage of the Idp user account so
that if a user has been removed on the Idp side, he is no longer able to
login into keycloak with his local account. Any comments on how to best
achieve this (or best practices) would be welcome
7 years, 1 month
customize email themes with images
by Scheinmann, Jonathan
Hi community,
I am looking for a way to add images to custom keycloak email themes. Our company template HTML uses the images sent as attachment. I would therefore like to attach the required images to the email. If this is not possible, what would be the correct way to add images to the HTML template?
Unfortunately the current documentation does not state anything of it:
http://www.keycloak.org/docs/3.3/server_development/topics/themes.html
Regards
Jonathan
7 years, 1 month
KeyCloak POC with minimal setup, won't work in IE
by Thomas Peeters
I've made a POC to show some required functionality for some of our applications using Keycloak. Mainly, secured URL and SSO.
The POC consists of a minimal setup: no SSL, ...
We're using JBoss EAP 6.4 as application server, Spring-security (with keycloak adapter), front-end is JSF 2.1 with RichFaces 4.
I've rather easily gotten it to work in all browsers except for IE outside of localhost. Meaning, it all seems to work when everything is configured for localhost addresses.
Then when I deploy it all to a staging area where I don't use localhost anymore it just won't work in IE (8,9,10). Which is kind of a showstopper because some old (poorly written) applications in the SSO domain ony work in IE.
What happens:
I enter the application URL in IE, the browser should redirect me to the keycloak login page. However that doesn't happen and I only see my own 'access denied 401' page.
Attempting to open the administration console of Keycloak shows me ''{{notification.header}} {{notification.message}} ", with loading... at the left-hand bottom of the screen. This does work when the address used is localhost, in fact, everything works using localhost.
It even works in Edge, not that means much.
I can't find much about this online, except for a handful pages that don't seem to add much info (to me).
KeyCloak 3.4.0.Final
Keycloak-spring-security-adapter 3.4.0.Final (Maven)
Spring Security (web & config + transitive dependencies) 3.2.0.RELEASE
JBoss 6.4 EAP
Keycloak.json:
{
"realm" : "<realmname>" ,
"auth-server-url" : "<non-localhost - non-https address>" ,
"ssl-required" : "none" ,
"resource" : "<client name>" ,
"public-client" : true
}
Which was extracted from the keycloak admin console.
I'm putting way too much time into this, and I'm not sure anymore where to look. And I find it quite odd that it works with localhost names.
Thanks for reading
T
7 years, 1 month
Unexpected Shutdown
by Eng.Raid Shannik
KC keep shut down every period of time with following log :
320
321
322
323
324
325
326
327
328
329330
331
332
333
334
335
336
337
338
339340
341
342
343
344
345
346
347
348
349350
351
352
353
354
355
356
357
358
359360
361
362
363
364
365
366
367
368
369370
371
372
373
374
375
376
377
378
379380
381
382
383
384
385
386
387
388
389390
391
392
393
394
395
396
397
398
399400
401
realmentit0_.ID as col_0_0_
from
REALM realmentit0_
2017-12-01 16:18:48,807 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: getConnection(null,
WrappedConnectionRequestInfo@327f5ee2[userName=techn134_keycloa])
[0/5]
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 0
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 1
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 2
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 3
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 4
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 5
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 6
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 7
2017-12-01 16:18:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:18:48,808 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterStatement
2017-12-01 16:18:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV'
2017-12-01 16:18:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV'
2017-12-01 16:18:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV'
2017-12-01 16:18:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV'
2017-12-01 16:18:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'partnerCode'
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'partnerCode'
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'partnerCode'
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'partnerCode'
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-Realm'
2017-12-01 16:18:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-Realm'
2017-12-01 16:18:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'ARC-Realm'
2017-12-01 16:18:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-Realm'
2017-12-01 16:18:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV1'
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV1'
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV1'
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV1'
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV2'
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV2'
2017-12-01 16:18:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV2'
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV2'
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-Realm-1'
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-Realm-1'
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'ARC-Realm-1'
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-Realm-1'
2017-12-01 16:18:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'master'
2017-12-01 16:18:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'master'
2017-12-01 16:18:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'master'
2017-12-01 16:18:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm 'master'
2017-12-01 16:18:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:18:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'TestRealm'
2017-12-01 16:18:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'TestRealm'
2017-12-01 16:18:48,817 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'TestRealm'
2017-12-01 16:18:48,817 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'TestRealm'
2017-12-01 16:18:48,817 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper commit
2017-12-01 16:18:48,817 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: returnConnection(50dc43f2, false) [0/5]
2017-12-01 16:18:48,817 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterTransaction
2017-12-01 16:18:48,817 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper end
2017-12-01 16:18:48,817 DEBUG
[org.keycloak.services.scheduled.ScheduledTaskRunner] (Timer-2)
Executed scheduled task ClearExpiredUserSessions
2017-12-01 16:19:12,426 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:19:22,426 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:21:22,427 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:21:32,427 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:23:32,428 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:23:42,428 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:25:42,429 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:25:52,430 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:27:52,431 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:28:02,431 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:29:19,236 DEBUG
[org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover]
(IdleRemover) Notifying pools, interval: 900000
2017-12-01 16:29:19,236 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(IdleRemover) KeycloakDS: removeIdleConnections(1512161959236) [0/5]
2017-12-01 16:30:02,432 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:30:12,433 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:32:12,434 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:32:22,435 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:33:48,786 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) new
JtaTransactionWrapper
2017-12-01 16:33:48,786 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) was
existing? false
2017-12-01 16:33:48,786 DEBUG
[org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl]
(Timer-2) Hibernate RegisteredSynchronization successfully registered
with JTA platform
2017-12-01 16:33:48,787 DEBUG [org.hibernate.SQL] (Timer-2)
select
realmentit0_.ID as col_0_0_
from
REALM realmentit0_
2017-12-01 16:33:48,787 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: getConnection(null,
WrappedConnectionRequestInfo@327f5ee2[userName=techn134_keycloa])
[0/5]
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 0
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 1
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 2
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 3
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 4
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 5
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 6
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 7
2017-12-01 16:33:48,788 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,788 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterStatement
2017-12-01 16:33:48,788 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper commit
2017-12-01 16:33:48,788 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: returnConnection(50dc43f2, false) [0/5]
2017-12-01 16:33:48,788 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterTransaction
2017-12-01 16:33:48,788 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper end
2017-12-01 16:33:48,788 DEBUG
[org.keycloak.services.scheduled.ClusterAwareScheduledTaskRunner]
(Timer-2) Executed scheduled task ClearExpiredEvents
2017-12-01 16:33:48,806 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) new
JtaTransactionWrapper
2017-12-01 16:33:48,806 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) was
existing? false
2017-12-01 16:33:48,806 DEBUG
[org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl]
(Timer-2) Hibernate RegisteredSynchronization successfully registered
with JTA platform
2017-12-01 16:33:48,806 DEBUG [org.hibernate.SQL] (Timer-2)
select
realmentit0_.ID as col_0_0_
from
REALM realmentit0_
2017-12-01 16:33:48,806 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: getConnection(null,
WrappedConnectionRequestInfo@327f5ee2[userName=techn134_keycloa])
[0/5]
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 0
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 1
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 2
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 3
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 4
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 5
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 6
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 7
2017-12-01 16:33:48,807 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:33:48,807 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterStatement
2017-12-01 16:33:48,807 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV'
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV'
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV'
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV'
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'partnerCode'
2017-12-01 16:33:48,808 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'partnerCode'
2017-12-01 16:33:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'partnerCode'
2017-12-01 16:33:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'partnerCode'
2017-12-01 16:33:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-Realm'
2017-12-01 16:33:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-Realm'
2017-12-01 16:33:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'ARC-Realm'
2017-12-01 16:33:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-Realm'
2017-12-01 16:33:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV1'
2017-12-01 16:33:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV1'
2017-12-01 16:33:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV1'
2017-12-01 16:33:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV1'
2017-12-01 16:33:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV2'
2017-12-01 16:33:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV2'
2017-12-01 16:33:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV2'
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV2'
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-Realm-1'
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-Realm-1'
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'ARC-Realm-1'
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-Realm-1'
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'master'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'master'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'master'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm 'master'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'TestRealm'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'TestRealm'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'TestRealm'
2017-12-01 16:33:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'TestRealm'
2017-12-01 16:33:48,814 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper commit
2017-12-01 16:33:48,814 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: returnConnection(50dc43f2, false) [0/5]
2017-12-01 16:33:48,814 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterTransaction
2017-12-01 16:33:48,814 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper end
2017-12-01 16:33:48,814 DEBUG
[org.keycloak.services.scheduled.ScheduledTaskRunner] (Timer-2)
Executed scheduled task ClearExpiredUserSessions
2017-12-01 16:34:22,435 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:34:32,436 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:36:32,437 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:36:42,437 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:38:42,438 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:38:52,438 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:40:52,439 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:41:02,439 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:43:02,440 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:43:12,441 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:44:19,237 DEBUG
[org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover]
(IdleRemover) Notifying pools, interval: 900000
2017-12-01 16:44:19,237 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(IdleRemover) KeycloakDS: removeIdleConnections(1512162859237) [0/5]
2017-12-01 16:45:12,441 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:45:22,442 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:47:22,443 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:47:32,444 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:48:48,785 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) new
JtaTransactionWrapper
2017-12-01 16:48:48,785 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) was
existing? false
2017-12-01 16:48:48,786 DEBUG
[org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl]
(Timer-2) Hibernate RegisteredSynchronization successfully registered
with JTA platform
2017-12-01 16:48:48,788 DEBUG [org.hibernate.SQL] (Timer-2)
select
realmentit0_.ID as col_0_0_
from
REALM realmentit0_
2017-12-01 16:48:48,788 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: getConnection(null,
WrappedConnectionRequestInfo@327f5ee2[userName=techn134_keycloa])
[0/5]
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 0
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 1
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 2
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 3
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 4
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 5
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 6
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 7
2017-12-01 16:48:48,789 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,789 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterStatement
2017-12-01 16:48:48,790 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper commit
2017-12-01 16:48:48,790 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: returnConnection(50dc43f2, false) [0/5]
2017-12-01 16:48:48,790 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterTransaction
2017-12-01 16:48:48,790 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper end
2017-12-01 16:48:48,790 DEBUG
[org.keycloak.services.scheduled.ClusterAwareScheduledTaskRunner]
(Timer-2) Executed scheduled task ClearExpiredEvents
2017-12-01 16:48:48,806 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) new
JtaTransactionWrapper
2017-12-01 16:48:48,806 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2) was
existing? false
2017-12-01 16:48:48,806 DEBUG
[org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl]
(Timer-2) Hibernate RegisteredSynchronization successfully registered
with JTA platform
2017-12-01 16:48:48,807 DEBUG [org.hibernate.SQL] (Timer-2)
select
realmentit0_.ID as col_0_0_
from
REALM realmentit0_
2017-12-01 16:48:48,807 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: getConnection(null,
WrappedConnectionRequestInfo@327f5ee2[userName=techn134_keycloa])
[0/5]
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 0
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 1
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 2
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 3
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 4
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 5
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 6
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result set row: 7
2017-12-01 16:48:48,808 DEBUG [org.hibernate.loader.Loader] (Timer-2)
Result row:
2017-12-01 16:48:48,808 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterStatement
2017-12-01 16:48:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV'
2017-12-01 16:48:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV'
2017-12-01 16:48:48,809 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV'
2017-12-01 16:48:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV'
2017-12-01 16:48:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'partnerCode'
2017-12-01 16:48:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'partnerCode'
2017-12-01 16:48:48,810 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'partnerCode'
2017-12-01 16:48:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'partnerCode'
2017-12-01 16:48:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-Realm'
2017-12-01 16:48:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-Realm'
2017-12-01 16:48:48,811 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'ARC-Realm'
2017-12-01 16:48:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-Realm'
2017-12-01 16:48:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV1'
2017-12-01 16:48:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV1'
2017-12-01 16:48:48,812 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV1'
2017-12-01 16:48:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV1'
2017-12-01 16:48:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-DEV2'
2017-12-01 16:48:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-DEV2'
2017-12-01 16:48:48,813 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'ARC-DEV2'
2017-12-01 16:48:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-DEV2'
2017-12-01 16:48:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'ARC-Realm-1'
2017-12-01 16:48:48,814 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'ARC-Realm-1'
2017-12-01 16:48:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'ARC-Realm-1'
2017-12-01 16:48:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'ARC-Realm-1'
2017-12-01 16:48:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'master'
2017-12-01 16:48:48,815 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'master'
2017-12-01 16:48:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm 'master'
2017-12-01 16:48:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm 'master'
2017-12-01 16:48:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removing expired sessions
2017-12-01 16:48:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired user sessions for realm 'TestRealm'
2017-12-01 16:48:48,816 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired client sessions for realm 'TestRealm'
2017-12-01 16:48:48,817 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline user sessions for realm
'TestRealm'
2017-12-01 16:48:48,817 DEBUG
[org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider]
(Timer-2) Removed 0 expired offline client sessions for realm
'TestRealm'
2017-12-01 16:48:48,817 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper commit
2017-12-01 16:48:48,817 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (Timer-2)
KeycloakDS: returnConnection(50dc43f2, false) [0/5]
2017-12-01 16:48:48,818 DEBUG
[org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl]
(Timer-2) Initiating JDBC connection release from afterTransaction
2017-12-01 16:48:48,818 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Timer-2)
JtaTransactionWrapper end
2017-12-01 16:48:48,818 DEBUG
[org.keycloak.services.scheduled.ScheduledTaskRunner] (Timer-2)
Executed scheduled task ClearExpiredUserSessions
2017-12-01 16:49:32,444 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:49:42,445 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:51:42,445 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:51:52,446 DEBUG [org.jboss.ejb.client.txn] (Periodic
Recovery) Send recover request for transaction origin node identifier
1 to EJB receiver with node name vps26186
2017-12-01 16:52:26,612 INFO [org.jboss.as.server] (Thread-2)
WFLYSRV0220: Server shutdown has been requested.
2017-12-01 16:52:26,622 DEBUG [org.jboss.as.security] (MSC service
thread 1-1) Stopping security domain service jboss-ejb-policy
2017-12-01 16:52:26,623 DEBUG [org.jboss.as.security] (MSC service
thread 1-2) Stopping security domain service jboss-web-policy
2017-12-01 16:52:26,624 DEBUG [org.jboss.as.ejb3.remote]
(ServerService Thread Pool -- 58) Un-registered
org.jboss.as.ejb3.remote.EJBTransactionRecoveryService$1@19c4e2d from
the transaction recovery manager
2017-12-01 16:52:26,626 DEBUG [org.wildfly.extension.undertow] (MSC
service thread 1-2) Stopping console redirect for default-host
2017-12-01 16:52:26,626 DEBUG [org.jboss.as.security] (MSC service
thread 1-6) Stopping security domain service jaspitest
2017-12-01 16:52:26,632 DEBUG
[org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-2)
Stopping cache manager ISPN on null
2017-12-01 16:52:26,633 DEBUG
[org.jboss.as.connector.deployment.registry] (MSC service thread 1-8)
Stopping service service jboss.raregistry
2017-12-01 16:52:26,634 DEBUG [org.jboss.as.mail.extension] (MSC
service thread 1-8) WFLYMAIL0003: Removed mail session
[java:jboss/mail/Default]
2017-12-01 16:52:26,634 DEBUG
[org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-1)
Stopping cache manager ISPN on null
2017-12-01 16:52:26,634 DEBUG
[org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-8)
Stopping cache manager ISPN on null
2017-12-01 16:52:26,634 DEBUG
[org.jboss.tm.usertx.UserTransactionRegistry] (MSC service thread 1-3)
org.jboss.tm.usertx.UserTransactionRegistry@3ae1cf3b removeListener
org.jboss.as.jpa.container.JPAUserTransactionListener@516acf8a
2017-12-01 16:52:26,634 DEBUG
[org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-7)
Stopping cache manager ISPN on null
2017-12-01 16:52:26,634 INFO
[org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-6) WFLYJCA0010: Unbound data source
[java:jboss/datasources/KeycloakDS]
2017-12-01 16:52:26,635 DEBUG [org.jboss.as.clustering.infinispan]
(MSC service thread 1-2) server cache container stopped
2017-12-01 16:52:26,635 DEBUG [org.jboss.as.connector] (MSC service
thread 1-5) Stopped CommonDeployment %s
2017-12-01 16:52:26,635 DEBUG [org.jboss.as.connector] (MSC service
thread 1-4) Stopped CommonDeployment %s
2017-12-01 16:52:26,635 DEBUG
[org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-3) Removed JDBC Data-source [java:jboss/datasources/KeycloakDS]
2017-12-01 16:52:26,635 DEBUG [org.jboss.as.clustering.infinispan]
(MSC service thread 1-8) ejb cache container stopped
2017-12-01 16:52:26,635 DEBUG [org.jboss.as.clustering.infinispan]
(MSC service thread 1-1) hibernate cache container stopped
2017-12-01 16:52:26,635 DEBUG [org.jboss.as.clustering.infinispan]
(MSC service thread 1-7) web cache container stopped
2017-12-01 16:52:26,636 DEBUG [org.jboss.as.domain.management] (MSC
service thread 1-8) Stopping 'ManagementRealm' Security Realm Service
2017-12-01 16:52:26,642 DEBUG
[org.jboss.jca.core.connectionmanager.TxConnectionManager]
(ServerService Thread Pool -- 59) java:jboss/datasources/KeycloakDS:
shutdown
2017-12-01 16:52:26,642 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(ServerService Thread Pool -- 59) KeycloakDS: shutdown
2017-12-01 16:52:26,642 DEBUG
[org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover]
(ServerService Thread Pool -- 59) Unregister pool:
SemaphoreConcurrentLinkedQueueManagedConnectionPool@61e2a490[pool=KeycloakDS]
2017-12-01 16:52:26,642 DEBUG
[org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover]
(ServerService Thread Pool -- 59) Setting interval to Long.MAX_VALUE
2017-12-01 16:52:26,644 DEBUG
[org.jboss.jca.core.connectionmanager.pool.validator.ConnectionValidator]
(ServerService Thread Pool -- 59) Unregister pool:
SemaphoreConcurrentLinkedQueueManagedConnectionPool@61e2a490[pool=KeycloakDS]
2017-12-01 16:52:26,644 DEBUG
[org.jboss.jca.core.connectionmanager.pool.validator.ConnectionValidator]
(ServerService Thread Pool -- 59) Setting interval to Long.MAX_VALUE
2017-12-01 16:52:26,644 INFO [org.wildfly.extension.undertow]
(ServerService Thread Pool -- 58) WFLYUT0022: Unregistered web
context: /auth
2017-12-01 16:52:26,646 INFO [org.jboss.as.connector.deployers.jdbc]
(MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with
driver-name = mysql
2017-12-01 16:52:26,648 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Brute Force
Protector) new JtaTransactionWrapper
2017-12-01 16:52:26,648 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Brute Force
Protector) was existing? false
2017-12-01 16:52:26,649 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Brute Force
Protector) JtaTransactionWrapper commit
2017-12-01 16:52:26,649 DEBUG
[org.keycloak.transaction.JtaTransactionWrapper] (Brute Force
Protector) JtaTransactionWrapper end
2017-12-01 16:52:26,654 DEBUG
[org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool
-- 58) HHH000031: Closing
2017-12-01 16:52:26,656 DEBUG
[org.hibernate.service.internal.AbstractServiceRegistryImpl]
(ServerService Thread Pool -- 58) Implicitly destroying
ServiceRegistry on de-registration of all child ServiceRegistries
2017-12-01 16:52:26,656 DEBUG
[org.hibernate.boot.registry.internal.BootstrapServiceRegistryImpl]
(ServerService Thread Pool -- 58) Implicitly destroying Boot-strap
registry on de-registration of all child ServiceRegistries
2017-12-01 16:52:26,657 DEBUG
[org.hibernate.jpa.internal.EntityManagerFactoryRegistry]
(ServerService Thread Pool -- 58) Remove: name=keycloak-default
2017-12-01 16:52:26,662 DEBUG [org.jboss.as.security] (MSC service
thread 1-8) Stopping security domain service other
2017-12-01 16:52:26,662 INFO [org.wildfly.extension.undertow] (MSC
service thread 1-6) WFLYUT0019: Host default-host stopping
2017-12-01 16:52:26,663 DEBUG [org.jboss.as.ejb3.deployment] (MSC
service thread 1-8) unRegistering EJB client context for classloader
ModuleClassLoader for Module "deployment.keycloak-server.war:main"
from Service Module Loader
2017-12-01 16:52:26,664 INFO
[org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-5) WFLYJCA0010: Unbound data source
[java:jboss/datasources/ExampleDS]
2017-12-01 16:52:26,664 DEBUG
[org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-5) Removed JDBC Data-source [java:jboss/datasources/ExampleDS]
2017-12-01 16:52:26,664 DEBUG
[org.jboss.jca.core.connectionmanager.TxConnectionManager]
(ServerService Thread Pool -- 61) java:jboss/datasources/ExampleDS:
shutdown
2017-12-01 16:52:26,664 DEBUG
[org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(ServerService Thread Pool -- 61) ExampleDS: shutdown
2017-12-01 16:52:26,665 INFO [org.jboss.as.connector.deployers.jdbc]
(MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with
driver-name = h2
2017-12-01 16:52:26,665 DEBUG
[org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager]
(MSC service thread 1-8) stop:
CachedConnectionManagerImpl@3ffb095a[debug=false error=false
ignoreConnections=false
transactionIntegration=org.jboss.jca.core.tx.jbossts.TransactionIntegrationImpl@7c29415b
currentObjects=null objectToConnectionManagerMap={}
connectionStackTraces={}]
2017-12-01 16:52:26,665 DEBUG [org.jboss.as.connector] (MSC service
thread 1-2) stopped ManagementRepositoryService service
jboss.management_repository
2017-12-01 16:52:26,665 DEBUG [org.jboss.as.connector] (MSC service
thread 1-4) Stopping JCA WorkManager:
2017-12-01 16:52:26,665 DEBUG
[org.jboss.as.connector.deployment.registry] (MSC service thread 1-6)
Stopping service service jboss.jdbc-driver.registry
2017-12-01 16:52:26,665 DEBUG
[org.jboss.tm.usertx.UserTransactionRegistry] (MSC service thread 1-8)
org.jboss.tm.usertx.UserTransactionRegistry@3ae1cf3b removeListener
org.jboss.jca.core.tx.jbossts.UserTransactionListenerImpl@32a24e48
2017-12-01 16:52:26,666 DEBUG [org.jboss.as.domain.management] (MSC
service thread 1-3) Stopping 'ApplicationRealm' Security Realm Service
2017-12-01 16:52:26,666 DEBUG [org.jboss.as.connector] (MSC service
thread 1-8) Stopped CcmService service jboss.cached-connection-manager
2017-12-01 16:52:26,666 DEBUG [org.jboss.as.connector] (MSC service
thread 1-4) Stopped JCA WorkManager:
2017-12-01 16:52:26,666 INFO [org.wildfly.extension.undertow] (MSC
service thread 1-2) WFLYUT0008: Undertow HTTP listener default
suspending
2017-12-01 16:52:26,667 INFO [org.wildfly.extension.undertow] (MSC
service thread 1-2) WFLYUT0007: Undertow HTTP listener default
stopped, was bound to 0.0.0.0:9393
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 58) WFLYCLINF0003: Stopped loginFailures
cache from keycloak container
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 61) WFLYCLINF0003: Stopped authorization
cache from keycloak container
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 62) WFLYCLINF0003: Stopped sessions
cache from keycloak container
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 63) WFLYCLINF0003: Stopped
offlineSessions cache from keycloak container
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 59) WFLYCLINF0003: Stopped keys cache
from keycloak container
2017-12-01 16:52:26,671 INFO [org.wildfly.extension.undertow] (MSC
service thread 1-2) WFLYUT0004: Undertow 1.3.15.Final stopping
2017-12-01 16:52:26,671 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 58) loginFailures keycloak cache stopped
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 60) WFLYCLINF0003: Stopped work cache
from keycloak container
2017-12-01 16:52:26,671 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 62) sessions keycloak cache stopped
2017-12-01 16:52:26,671 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 60) work keycloak cache stopped
2017-12-01 16:52:26,673 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 59) keys keycloak cache stopped
2017-12-01 16:52:26,673 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 63) offlineSessions keycloak cache
stopped
2017-12-01 16:52:26,673 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 64) WFLYCLINF0003: Stopped realms cache
from keycloak container
2017-12-01 16:52:26,674 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 61) authorization keycloak cache stopped
2017-12-01 16:52:26,671 INFO [org.jboss.as.clustering.infinispan]
(ServerService Thread Pool -- 65) WFLYCLINF0003: Stopped users cache
from keycloak container
2017-12-01 16:52:26,674 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 64) realms keycloak cache stopped
2017-12-01 16:52:26,675 INFO [org.jboss.as.server.deployment] (MSC
service thread 1-3) WFLYSRV0028: Stopped deployment
keycloak-server.war (runtime-name: keycloak-server.war) in 50ms
2017-12-01 16:52:26,687 DEBUG
[org.wildfly.clustering.infinispan.spi.service.CacheBuilder]
(ServerService Thread Pool -- 65) users keycloak cache stopped
2017-12-01 16:52:26,688 DEBUG
[org.infinispan.manager.DefaultCacheManager] (MSC service thread 1-3)
Stopping cache manager ISPN on null
2017-12-01 16:52:26,690 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,690 DEBUG [org.infinispan.cache.impl.CacheImpl]
(MSC service thread 1-3) Stopping cache realmRevisions on null
2017-12-01 16:52:26,694 DEBUG
[org.infinispan.transaction.impl.TransactionTable] (MSC service thread
1-3) Wait for on-going transactions to finish for 30 seconds.
2017-12-01 16:52:26,694 DEBUG
[org.infinispan.transaction.impl.TransactionTable] (MSC service thread
1-3) All transactions terminated
2017-12-01 16:52:26,694 INFO [org.jboss.as.clustering.infinispan]
(MSC service thread 1-3) WFLYCLINF0003: Stopped realmRevisions cache
from keycloak container
2017-12-01 16:52:26,695 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,695 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,696 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,696 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,696 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,696 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,696 DEBUG
[org.infinispan.factories.ComponentRegistry] (MSC service thread 1-3)
Ignoring call to stop() as current state is TERMINATED
2017-12-01 16:52:26,697 DEBUG [org.infinispan.cache.impl.CacheImpl]
(MSC service thread 1-3) Stopping cache userRevisions on null
2017-12-01 16:52:26,698 DEBUG
[org.infinispan.transaction.impl.TransactionTable] (MSC service thread
1-3) Wait for on-going transactions to finish for 30 seconds.
2017-12-01 16:52:26,698 DEBUG
[org.infinispan.transaction.impl.TransactionTable] (MSC service thread
1-3) All transactions terminated
2017-12-01 16:52:26,698 INFO [org.jboss.as.clustering.infinispan]
(MSC service thread 1-3) WFLYCLINF0003: Stopped userRevisions cache
from keycloak container
2017-12-01 16:52:26,699 DEBUG [org.jboss.as.clustering.infinispan]
(MSC service thread 1-3) keycloak cache container stopped
2017-12-01 16:52:26,701 DEBUG [org.jboss.as.repository] (MSC service
thread 1-8) ContentRepository stopped
2017-12-01 16:52:26,702 DEBUG [org.jboss.as.server] (ServerService
Thread Pool -- 65) DeploymentMountProvider stopped
2017-12-01 16:52:26,704 INFO [org.jboss.as] (MSC service thread 1-1)
WFLYSRV0050: Keycloak 3.1.0.Final (WildFly Core 2.0.10.Final) stopped
in 82ms
would you please advise?
7 years, 1 month
Issue with database schema
by Benoit Brouard
Hi,
While upgrading to Keycloak 3.4.0, I just found that the database cannot
be initialized when there is a schema.
I have the following error:
> Table "RESOURCE_SERVER_POLICY" not found; SQL statement:
> UPDATE RESOURCE_SERVER_POLICY p SET RESOURCE_SERVER_CLIENT_ID =
> (SELECT CLIENT_ID FROM RESOURCE_SERVER s WHERE s.ID =
> p.RESOURCE_SERVER_ID)
This issue seems to come from /jpa-changelog-authz-3.4.0.CR1.xml/ which
contains hard coded SQL statements.
To reproduce the issue you have to do 2 changes in standalone.xml file:
* Use the following connection url for the KeycloakDS data source:
/jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE;INIT=CREATE
SCHEMA IF NOT EXISTS mySchema/
* add /<property name="schema" value="mySchema"/>/ in /connectionsJpa/
Thanks,
Benoit
7 years, 1 month
Issue on Direct Grant API
by Marcelo Miura
Hi,
I’m using Direct Grant to authenticate with an admin user to be able to create new users into Keycloak and be able to reset user passwords.
But for some reason, the authentication is not working anymore. It’s returning that the user credentials are invalid, as follows:
{
"error": "invalid_grant",
"error_description": "Invalid user credentials"
}
But when logging in into the Admin Console, the credentials are working fine.
Keycloak log:
2017-11-30 20:22:31,631 WARN [org.keycloak.events] (default task-29) type=LOGIN_ERROR, realmId=master, clientId=admin, userId=null, ipAddress=xxx.xx.xx.xx error=invalid_user_credentials, auth_method=openid-connect, grant_type=password, client_auth_method=client-secret, username=admin
2017-11-30 20:22:31,631 WARN [org.keycloak.services] (Brute Force Protector) KC-SERVICES0053: login failure for user <userid> from xxx.xx.xx.xx
*replaced some values as required by the client
Not sure if it’s related but on the last days when accessing the realm settings - keys, it was displaying an error: "Error! An unexpected server error has occurred” and the tabs Active and Providers didn’t show any keys.
Keycloak log:
2017-11-30 20:20:52,033 ERROR [org.keycloak.keys.DefaultKeyManager] (default task-24) Failed to load provider <provider id>: java.lang.NullPointerException
at org.keycloak.keys.DefaultKeyManager.getProviders(DefaultKeyManager.java:133)
at org.keycloak.keys.DefaultKeyManager.getPublicKey(DefaultKeyManager.java:70)
at org.keycloak.services.managers.AuthenticationManager.verifyIdentityToken(AuthenticationManager.java:688)
at org.keycloak.services.managers.AppAuthManager.authenticateBearerToken(AppAuthManager.java:64)
at org.keycloak.services.resources.admin.AdminRoot.authenticateRealmAdminRequest(AdminRoot.java:175)
at org.keycloak.services.resources.admin.AdminRoot.getRealmsAdmin(AdminRoot.java:209)
at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.resteasy.core.ResourceLocatorInvoker.createResource(ResourceLocatorInvoker.java:79)
at org.jboss.resteasy.core.ResourceLocatorInvoker.createResource(ResourceLocatorInvoker.java:58)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:100)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:90)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-11-30 20:20:52,038 ERROR [io.undertow.request] (default task-24) UT005023: Exception handling request to /auth/admin/realms/master/components: org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: java.lang.IllegalArgumentException: No such provider 'hmac-generated'
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:168)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:411)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:90)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: No such provider 'hmac-generated'
at org.keycloak.models.utils.ComponentUtil.getComponentConfigProperties(ComponentUtil.java:69)
at org.keycloak.models.utils.ComponentUtil.getComponentConfigProperties(ComponentUtil.java:39)
at org.keycloak.models.utils.StripSecretsUtils.strip(StripSecretsUtils.java:39)
at org.keycloak.models.utils.ModelToRepresentation.toRepresentation(ModelToRepresentation.java:815)
at org.keycloak.services.resources.admin.ComponentResource.getComponents(ComponentResource.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:138)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:107)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:133)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:107)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:133)
at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:101)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
... 37 more
Caused by: java.lang.IllegalArgumentException: No such provider 'hmac-generated'
at org.keycloak.models.utils.ComponentUtil.getComponentFactory(ComponentUtil.java:81)
at org.keycloak.models.utils.ComponentUtil.getComponentConfigProperties(ComponentUtil.java:56)
... 55 more
But when I check the keycloak database, seems that the key and provider are there.
Any thoughts?
7 years, 1 month