<p dir="ltr">Hi,</p>
<p dir="ltr">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.</p>
<p dir="ltr">I just wondering is there any object we can use in keycloak similar to http session?</p>
<div class="gmail_quote">On Mar 30, 2015 10:10 PM, "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HTTP session? Keycloak doesn't use HTTP sessions. Nor do we currently provide access to HTTP request details in templates.<br>
<br>
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.<br>
<br>
----- Original Message -----<br>
> From: "Chen Keong Yap" <<a href="mailto:chenkeong.yap@izeno.com">chenkeong.yap@izeno.com</a>><br>
> To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Monday, 30 March, 2015 4:05:32 PM<br>
> Subject: [keycloak-user] Keycloak session attribute<br>
><br>
><br>
><br>
> Hi,<br>
><br>
> I was trying to set a session attribute using custom filter and retrieve it<br>
> from login.ftl with no success and the session attribute value is null. Any<br>
> advice?<br>
><br>
> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div>