は、コードスニペットがあります: KeycloakSecurityContext session = (KeycloakSecurityContext) httpServletRequest.getAttribute(KeycloakSecurityContext.class.getName())
Keycloakのアカウントリンク文書のhttpServletRequestでKeycloakSecurityContextを設定するにはどうすればよいですか? Keycloakの<a href="http://www.keycloak.org/docs/3.2/server_development/topics/identity-brokering/account-linking.html" rel="nofollow noreferrer">account-linking</a>ドキュメントで
KeycloakSecurityContext
がhttpServletRequest
に設定されますなぜ?このコードはどこで実行されるべきですか?どんな状況で?ありがとう。
メーリングリスト:http://lists.jboss.org/pipermail/keycloak-user/2017-October/011941.html –