keycloak-service
公開メンバ関数 | 全メンバ一覧
org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator クラス
org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator の継承関係図
Inheritance graph
org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator 連携図
Collaboration graph

公開メンバ関数

boolean requiresUser ()
 
void authenticate (AuthenticationFlowContext context)
 
void action (AuthenticationFlowContext context)
 
boolean configuredFor (KeycloakSession session, RealmModel realm, UserModel user)
 
void setRequiredActions (KeycloakSession session, RealmModel realm, UserModel user)
 
void close ()
 

詳解

著者
Bill Burke
バージョン
Revision
1

関数詳解

◆ action()

void org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator.action ( AuthenticationFlowContext  context)
inline
59  {
60 
61  }

◆ authenticate()

void org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator.authenticate ( AuthenticationFlowContext  context)
inline
43  {
44  HttpRequest httpRequest = context.getHttpRequest();
45 
46  // only do redirects for GET requests
47  if (HttpMethod.GET.equalsIgnoreCase(httpRequest.getHttpMethod())) {
48  if (!httpRequest.getUri().getQueryParameters().containsKey(LoginActionsService.AUTH_SESSION_ID)) {
49  Response response = Response.status(302).header(HttpHeaders.LOCATION, context.getRefreshUrl(true)).build();
50  context.challenge(response);
51  return;
52  }
53  }
54 
55  context.success();
56  }

◆ close()

void org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator.close ( )
inline
73  {
74 
75  }

◆ configuredFor()

boolean org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator.configuredFor ( KeycloakSession  session,
RealmModel  realm,
UserModel  user 
)
inline
64  {
65  return true;
66  }

◆ requiresUser()

boolean org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator.requiresUser ( )
inline
38  {
39  return false;
40  }

◆ setRequiredActions()

void org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator.setRequiredActions ( KeycloakSession  session,
RealmModel  realm,
UserModel  user 
)
inline
69  {
70  }

このクラス詳解は次のファイルから抽出されました: