# Upgrading to Keycloak 10.0.2 from 3.4.3-final

**URL:** <https://forum.keycloak.org/t/upgrading-to-keycloak-10-0-2-from-3-4-3-final/3899>\
**Category:** Getting advice\
**Tags:** authentication, ldap\
**Created:** [July 22, 2020, 8:05am UTC](https://forum.keycloak.org/t/upgrading-to-keycloak-10-0-2-from-3-4-3-final/3899 "2020-07-22T08:05:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manchala07](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manchala07](https://forum.keycloak.org/u/manchala07)\
**Post date:** [July 22, 2020, 8:05am UTC](https://forum.keycloak.org/t/upgrading-to-keycloak-10-0-2-from-3-4-3-final/3899/1 "2020-07-22T08:05:46Z")

</div>

HI,  
We are currently using 3.4.3. Final version and we are planning to upgrade to the latest 10.0.2 version.  
after building our project we have encountered some compilation problems due to the change package structure of some classes. We were using EntitlementRequest and EntitlementResponse classes for authorization logic but now this API been removed. If this API is removed what is the alternative for this use case.

What are all the things we need to consider when we are migrating to 3.4.3.Final to 10.0.2 version.

---

<div class="post-metadata">

**Author:** ![vikas027](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/vikas027/32/1102_2.png) [@vikas027](https://forum.keycloak.org/u/vikas027)\
**Post date:** [July 22, 2020, 9:56pm UTC](https://forum.keycloak.org/t/upgrading-to-keycloak-10-0-2-from-3-4-3-final/3899/2 "2020-07-22T21:56:40Z")

</div>

Hey @manchala07,

I was also in the same boat about a week ago, for me upgrade was smooth till v9 but somehow keycloak failed to connect the the database in v10.

See this issue

> [@Keycloak 10.0.X and 11.0.0 fails to connect to the database](http://forum.keycloak.org/t/keycloak-10-0-x-and-11-0-0-fails-to-connect-to-the-database/3917):
>
> Hello, I have this setup Keycloak Docker Image jboss/keycloak:9.0.3 (I had upgraded from Keycloak v3 to v9 following all hops i.e. v4 to v9) running on an EC2 instance AWS RDS Aurora MySQL 5.6.10 database I am not sure what has changed in Keycloak 10 (and 11), it somehow fails to connect to the database. I am running docker run commands on the same EC2 instance with just the keycloak docker image changed from jboss/keycloak:9.0.3 to jboss/keycloak:10.0.0 (or jboss/keycloak:10.0.1 or jboss/ke…

Also, in v6 and above Keycloak No Longer Exposes IDPSSODescriptor config, see this [Github](https://github.com/cBioPortal/cbioportal/issues/6820#issuecomment-655720199) issue.

---

<div class="post-metadata">

**Author:** ![manchala07](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@manchala07](https://forum.keycloak.org/u/manchala07)\
**Post date:** [July 23, 2020, 6:33am UTC](https://forum.keycloak.org/t/upgrading-to-keycloak-10-0-2-from-3-4-3-final/3899/3 "2020-07-23T06:33:18Z")

</div>

Hey @vikas027,  
Thanks for the shared information.

We are facing problem while building out project with Gradle tool.

We have created a wrapper application on top of keycloak with Java api. There were some classes which are removed from 4.0 release onwards and some methods been deprecated from 9.0 version. For the deprecated methods, there is no information of alternatives in the documentation.

**Classes that are removed :**  
org.keycloak.authorization.client.representation.EntitlementRequest;  
org.keycloak.authorization.client.representation.EntitlementResponse;  
org.keycloak.authorization.client.representation.PermissionRequest;

**Method deprecated in new release but not provided any replacements:**  
org.keycloak.representations.idm.CredentialRepresentation.setAlgorithm()  
org.keycloak.representations.idm.CredentialRepresentation.setHashIterations()  
org.keycloak.representations.idm.CredentialRepresentation.setSalt()  
org.keycloak.representations.idm.CredentialRepresentation.setHashedSaltedValue()

I am very new to keycloak , If anybody helps with good documentation where the above use-cases can be found would be a great helpful.

---

<div class="post-metadata">

**Author:** ![kkcmadhu](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/kkcmadhu/32/7545_2.png) [@kkcmadhu](https://forum.keycloak.org/u/kkcmadhu)\
**Post date:** [May 28, 2021, 8:04am UTC](https://forum.keycloak.org/t/upgrading-to-keycloak-10-0-2-from-3-4-3-final/3899/4 "2021-05-28T08:04:43Z")

</div>

i am trying to do it from 4.7 to keyclaok 12/ 13, i just tried some performance test around with varied number of realms, for 100 realms it takes about 30 mins, and for 500 realms the migration takes about 3 to 4 hours ( 2 core, 4 gig box).

how long it took for you guys?

Also i see that doing an export and import (json ) is much much faster than direct database migrate.  
Any opinion? did you folks too have similar time for migration?

2 years back, i was trying to migrate from 4.5 to 4.7 then too i felt export/import way of doign things is atleast twice as fast as plain db migration .

Between , i use mysql 5.7 ( not sure whats the experiece in postgrest, aurora etc)/
