<div dir="ltr"><div><div>I am familiar with the Apereo CAS Client, that project has an AssertionThreadLocalFilter that allows one to access the principal without having direct access to the web tier session<span style="color:rgb(150,152,150);font-family:Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">.</span><br><br>org.jasig.cas.client.validation.Assertion assertion = org.jasig.cas.client.util.AssertionHolder.getAssertion();<br>org.jasig.cas.client.authentication.AttributePrincipal principal = assertion.getPrincipal();<br><br><br></div>Does keycloak have a similar function to access the org.keycloak.KeycloakPrincipal without access to the HttpServletRequest ?<br><br></div>-Thanks <br><div><div><div><div><br><br><br></div></div></div></div></div>