[keycloak-user] Keycloak session attribute

Chen Keong Yap chenkeong.yap at izeno.com
Mon Mar 30 16:42:21 EDT 2015


Hi stian,

Please advise.
On Mar 30, 2015 10:19 PM, "Chen Keong Yap" <chenkeong.yap at izeno.com> wrote:

> Hi,
>
> Ok. We have a requirement to encrypt userid in keycloak using random key
> and send it to a third party server for authentication. The random key must
> be stored in a session so that third party server can decrypt the user id.
>
> I just wondering is there any object we can use in keycloak similar to
> http session?
> On Mar 30, 2015 10:10 PM, "Stian Thorgersen" <stian at redhat.com> wrote:
>
>> HTTP session? Keycloak doesn't use HTTP sessions. Nor do we currently
>> provide access to HTTP request details in templates.
>>
>> If you explain what you're trying to achieve rather than how you're
>> trying to do it we might be more able to help.
>>
>> ----- Original Message -----
>> > From: "Chen Keong Yap" <chenkeong.yap at izeno.com>
>> > To: keycloak-user at lists.jboss.org
>> > Sent: Monday, 30 March, 2015 4:05:32 PM
>> > Subject: [keycloak-user] Keycloak session attribute
>> >
>> >
>> >
>> > Hi,
>> >
>> > I was trying to set a session attribute using custom filter and
>> retrieve it
>> > from login.ftl with no success and the session attribute value is null.
>> Any
>> > advice?
>> >
>> > _______________________________________________
>> > 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/20150331/44f03de7/attachment-0001.html 


More information about the keycloak-user mailing list