[keycloak-user] how to clear server caches...

Stian Thorgersen sthorger at redhat.com
Mon Jan 4 10:14:39 EST 2016


In that case you'll need to change it to NONE and restart the server

On 4 January 2016 at 16:10, Adrian Matei <adrianmatei at gmail.com> wrote:

> hi Stian,
>
> Just after the installation I wanted to be able access the Admin Console
> without SSL for our dev environment. I thought if I hacked the value of the
> column SSLRequired from table REALM for the master realm would work -
> unfortunately I used "none" instead of "NONE" and when I try to access now
> the admin console am getting the following:
>
> *JBWEB000289: Servlet Keycloak REST Interface threw load() exception:
> java.lang.IllegalArgumentException: No enum constant
> org.keycloak.common.enums.SslRequired.none*
>
>
> Thanks,
> Adrian
>
> On Mon, Jan 4, 2016 at 4:01 PM, Stian Thorgersen <sthorger at redhat.com>
> wrote:
>
>> What specifically are you trying to achieve?
>>
>> Re-starting the server would obviously clear the cache. Or you can clear
>> it through the admin console.
>>
>> On 4 January 2016 at 15:32, Adrian Matei <adrianmatei at gmail.com> wrote:
>>
>>> Hi everyone,
>>>
>>> how can i clear the server caches without using the Admin Console. If I
>>> add the
>>>
>>> *"realmCache": {*
>>> *        "provider": "${keycloak.realm.cache.provider:none}"*
>>> *    },*
>>> *   "userCache": {*
>>> *        "provider": "${keycloak.user.cache.provider:none}"*
>>> *    }*
>>>
>>>  to *keycloak-server.json* as mentioned in the documentation won't
>>> work. The values are not even present "anymore" in the file...
>>>
>>>
>>> Thanks,
>>> Adrian
>>>
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160104/7b52ba18/attachment.html 


More information about the keycloak-user mailing list