[keycloak-user] how to clear server caches...
Adrian Matei
adrianmatei at gmail.com
Mon Jan 4 11:02:06 EST 2016
hi Stian,
Yes I had tried that many times with no use - the problem was that my DB
client seems to not have committed initially the value in DB. After
committing it again, it worked.
Thanks,
Adrian
On Mon, Jan 4, 2016 at 4:14 PM, Stian Thorgersen <sthorger at redhat.com>
wrote:
> 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/d70f4d65/attachment.html
More information about the keycloak-user
mailing list