[keycloak-user] How to set realm tokens units programmatically

John D. Ament john.d.ament at gmail.com
Tue May 24 08:43:39 EDT 2016


I would just expand it out into the proper value, e.g.

2 * 60 * 60

John

On Tue, May 24, 2016 at 8:28 AM Haim Vana <haimv at perfectomobile.com> wrote:

> Hi,
>
>
>
> When I am setting realm tokens programmatically, for example 'Sso Session
> Idle Timeout', how can I set its units ?
>
>
>
> This is how I am setting the parameter programmatically:
>
> *realmRepresentation.setSsoSessionIdleTimeout(120);*
>
>
>
> However I couldn't find how to set the units from minutes to hours, when I
> am setting the above it is displayed (and act !) as 2 minutes in the UI.
>
>
>
>
>
> Any advice will be appreciated.
>
>
>
>
>
> Thanks,
>
> Haim.
>
>
>
>
>
> The information contained in this message is proprietary to the sender,
> protected from disclosure, and may be privileged. The information is
> intended to be conveyed only to the designated recipient(s) of the message.
> If the reader of this message is not the intended recipient, you are hereby
> notified that any dissemination, use, distribution or copying of this
> communication is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to the message and deleting it from your computer. Thank you.
> _______________________________________________
> 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/20160524/d0c8487f/attachment.html 


More information about the keycloak-user mailing list