<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Not sure, I am like 50/50 . I agree it
can simplify some scenarios when KeycloakDeployment is accessible
from KeycloakSecurityContext. On the other hand,
KeycloakDeployment exposes some info, which is not necessary to be
exposed in client apps. <br>
<br>
I think you can just cast KeycloakSecurityContext to
RefreshableKeycloakSecurityContext and get KeycloakDeployment from
there?<br>
<br>
Marek<br>
<br>
On 04/01/16 12:53, Thomas Raehalme wrote:<br>
</div>
<blockquote
cite="mid:CAPyAMoZLS326hM5ekGchmxj79O-G1AAfM=fHq5aUgKi0_nZeOg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi!
<div><br>
</div>
<div>At the moment KeycloakDeployment is accessible from
RefreshableKeycloakSecurityContext, but now from its
superclass KeycloakSecurityContext. Is there a reason why the
deployment cannot be accessed through the base class?</div>
<div><br>
</div>
<div>When using KeycloakConfigResolver it would simplify things
if one could access the deployment context from the security
context.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Thomas</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>