<div dir="ltr">thanks stian.<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 2:16 PM, Stian Thorgersen <span dir="ltr"><<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If all you need is to send userid to a external server just implement a event listener. Not sure why that would require something like a http session<br>
<span class="im HOEnZb"><br>
----- Original Message -----<br>
> From: "Chen Keong Yap" <<a href="mailto:chenkeong.yap@izeno.com">chenkeong.yap@izeno.com</a>><br>
</span><div class="HOEnZb"><div class="h5">> To: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> Cc: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Monday, 30 March, 2015 4:19:24 PM<br>
> Subject: Re: [keycloak-user] Keycloak session attribute<br>
><br>
> Hi,<br>
><br>
> Ok. We have a requirement to encrypt userid in keycloak using random key<br>
> and send it to a third party server for authentication. The random key must<br>
> be stored in a session so that third party server can decrypt the user id.<br>
><br>
> I just wondering is there any object we can use in keycloak similar to http<br>
> session?<br>
> On Mar 30, 2015 10:10 PM, "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a>> wrote:<br>
><br>
> > HTTP session? Keycloak doesn't use HTTP sessions. Nor do we currently<br>
> > 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<br>
> > 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<br>
> > it<br>
> > > from login.ftl with no success and the session attribute value is null.<br>
> > 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>
> ><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div> </div><div class="gmail_signature"><div dir="ltr"><div style="text-align:left"><br></div></div></div>
</div></div>