|
keycloak
|


クラス | |
| class | ServletFacade |
公開メンバ関数 | |
| void | stop () |
| void | redirectRelative (String relativePath, HttpServletRequest request, HttpServletResponse response) throws IOException |
| void | redirect (String redirectUri, HttpServletRequest request, HttpServletResponse response) throws IOException |
| AccessTokenResponse | getBearerToken (HttpServletRequest request) throws IOException, ServerRequest.HttpFailure |
| AccessTokenResponse | refreshToken (HttpServletRequest request, String refreshToken) throws IOException, ServerRequest.HttpFailure |
| KeycloakDeployment | getDeployment () |
| void | setDeployment (KeycloakDeployment deployment) |
| String | getClientId () |
| void | setClientId (String clientId) |
| Map< String, Object > | getCredentials () |
| void | setCredentials (Map< String, Object > credentials) |
| String | getAuthUrl () |
| void | setAuthUrl (String authUrl) |
| String | getTokenUrl () |
| void | setTokenUrl (String tokenUrl) |
| boolean | isPublicClient () |
| void | setPublicClient (boolean publicClient) |
| RelativeUrlsUsed | getRelativeUrlsUsed () |
| void | setRelativeUrlsUsed (RelativeUrlsUsed relativeUrlsUsed) |
| boolean | isSecure () |
| String | getScope () |
| void | setScope (String scope) |
| String | getStateCookieName () |
| void | setStateCookieName (String stateCookieName) |
| String | getStateCookiePath () |
| void | setStateCookiePath (String stateCookiePath) |
| void | setSecure (boolean secure) |
静的公開メンバ関数 | |
| static String | generateSecret () |
| static String | generateSecret (int bytes) |
| static IDToken | extractIdToken (String idToken) |
限定公開メンバ関数 | |
| String | getCookieValue (String name, HttpServletRequest request) |
| String | getCode (HttpServletRequest request) |
| String | getStateCode () |
| String | stripOauthParametersFromRedirect (String uri) |
限定公開変数類 | |
| String | clientId |
| Map< String, Object > | credentials |
| String | authUrl |
| String | tokenUrl |
| RelativeUrlsUsed | relativeUrlsUsed |
| String | scope |
| String | stateCookieName = OAUTH_TOKEN_REQUEST_STATE |
| String | stateCookiePath |
| boolean | isSecure |
| boolean | publicClient |
非公開メンバ関数 | |
| void | setCodeVerifier () |
| void | setCodeChallenge () |
| AccessTokenResponse | resolveBearerToken (HttpServletRequest request, String redirectUri, String code) throws IOException, ServerRequest.HttpFailure |
| KeycloakDeployment | resolveDeployment (KeycloakDeployment baseDeployment, HttpServletRequest request) |
非公開変数類 | |
| String | codeVerifier |
| String | codeChallenge |
| String | codeChallengeMethod = OAuth2Constants.PKCE_METHOD_S256 |
静的非公開変数類 | |
| static Logger | logger = Logger.getLogger(ServletOAuthClient.class) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlineinherited |
|
inline |
Obtain the code parameter from the url after being redirected back from the auth-server. Then do an authenticated request back to the auth-server to turn the access code into an access token.
| request |
| IOException | |
| org.keycloak.adapters.ServerRequest.HttpFailure |
|
inlineinherited |
|
inlineprotected |
|
inlineprotected |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Start the process of obtaining an access token by redirecting the browser to the authentication server
| redirectUri | full URI you want auth server to redirect back to |
| request | |
| response |
| IOException |
|
inline |
Start the process of obtaining an access token by redirecting the browser to the authentication server
| relativePath | path relative to context root you want auth server to redirect back to |
| request | |
| response |
| IOException |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineinherited |
|
inlineinherited |
|
inlineprivate |
|
inlineprivate |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
closes client
|
inlineprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
private |
|
private |
|
private |
|
protectedinherited |
|
protectedinherited |
|
staticprivate |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
1.8.13