keycloak
|
公開メンバ関数 | |
EventBuilder | getEvent () |
EventBuilder | newEvent () |
AuthenticationExecutionModel | getExecution () |
RealmModel | getRealm () |
ClientConnection | getConnection () |
UriInfo | getUriInfo () |
KeycloakSession | getSession () |
HttpRequest | getHttpRequest () |
BruteForceProtector | getProtector () |
AuthenticatorConfigModel | getAuthenticatorConfig () |
FormMessage | getForwardedErrorMessage () |
FormMessage | getForwardedSuccessMessage () |
String | generateAccessCode () |
AuthenticationExecutionModel.Requirement | getCategoryRequirementFromCurrentFlow (String authenticatorCategory) |
void | success () |
void | failure (AuthenticationFlowError error) |
void | failure (AuthenticationFlowError error, Response response) |
void | challenge (Response challenge) |
void | forceChallenge (Response challenge) |
void | failureChallenge (AuthenticationFlowError error, Response challenge) |
void | attempted () |
FlowStatus | getStatus () |
AuthenticationFlowError | getError () |
void org.keycloak.authentication.AbstractAuthenticationFlowContext.attempted | ( | ) |
There was no failure or challenge. The authenticator was attempted, but not fulfilled. If the current execution requirement is alternative or optional, then this status is ignored by the flow.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AbstractAuthenticationFlowContext.challenge | ( | Response | challenge | ) |
Sends a challenge response back to the HTTP client. If the current execution requirement is optional, this response will not be sent. If the current execution requirement is alternative, then this challenge will be sent if no other alternative execution was successful.
challenge |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AbstractAuthenticationFlowContext.failure | ( | AuthenticationFlowError | error | ) |
Aborts the current flow
error |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AbstractAuthenticationFlowContext.failure | ( | AuthenticationFlowError | error, |
Response | response | ||
) |
Aborts the current flow.
error | |
response | Response that will be sent back to HTTP client |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AbstractAuthenticationFlowContext.failureChallenge | ( | AuthenticationFlowError | error, |
Response | challenge | ||
) |
Same behavior as forceChallenge(), but the error count in brute force attack detection will be incremented. For example, if a user enters in a bad password, the user is directed to try again, but Keycloak will keep track of how many failures have happened.
error | |
challenge |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AbstractAuthenticationFlowContext.forceChallenge | ( | Response | challenge | ) |
Sends the challenge back to the HTTP client irregardless of the current executionr requirement
challenge |
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
String org.keycloak.authentication.AbstractAuthenticationFlowContext.generateAccessCode | ( | ) |
Generates access code and updates clientsession timestamp Access codes must be included in form action callbacks as a query parameter.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
AuthenticatorConfigModel org.keycloak.authentication.AbstractAuthenticationFlowContext.getAuthenticatorConfig | ( | ) |
Get any configuration associated with the current execution
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
AuthenticationExecutionModel.Requirement org.keycloak.authentication.AbstractAuthenticationFlowContext.getCategoryRequirementFromCurrentFlow | ( | String | authenticatorCategory | ) |
ClientConnection org.keycloak.authentication.AbstractAuthenticationFlowContext.getConnection | ( | ) |
Information about the IP address from the connecting HTTP client.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
AuthenticationFlowError org.keycloak.authentication.AbstractAuthenticationFlowContext.getError | ( | ) |
Get the error condition of a failed execution.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
EventBuilder org.keycloak.authentication.AbstractAuthenticationFlowContext.getEvent | ( | ) |
Current event builder being used
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
AuthenticationExecutionModel org.keycloak.authentication.AbstractAuthenticationFlowContext.getExecution | ( | ) |
The current execution in the flow
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
FormMessage org.keycloak.authentication.AbstractAuthenticationFlowContext.getForwardedErrorMessage | ( | ) |
This could be an error message forwarded from another authenticator that is restarting or continuing the flo. For example the brokering API sends this when the broker failed authentication and we want to continue authentication locally. forwardedErrorMessage can then be displayed by whatever form is challenging.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
FormMessage org.keycloak.authentication.AbstractAuthenticationFlowContext.getForwardedSuccessMessage | ( | ) |
This could be an success message forwarded from another authenticator that is restarting or continuing the flow. For example a reset password sends an email, then resets the flow with a success message. forwardedSuccessMessage can then be displayed by whatever form is challenging.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
HttpRequest org.keycloak.authentication.AbstractAuthenticationFlowContext.getHttpRequest | ( | ) |
BruteForceProtector org.keycloak.authentication.AbstractAuthenticationFlowContext.getProtector | ( | ) |
RealmModel org.keycloak.authentication.AbstractAuthenticationFlowContext.getRealm | ( | ) |
KeycloakSession org.keycloak.authentication.AbstractAuthenticationFlowContext.getSession | ( | ) |
FlowStatus org.keycloak.authentication.AbstractAuthenticationFlowContext.getStatus | ( | ) |
Get the current status of the current execution.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
UriInfo org.keycloak.authentication.AbstractAuthenticationFlowContext.getUriInfo | ( | ) |
UriInfo of the current request
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
EventBuilder org.keycloak.authentication.AbstractAuthenticationFlowContext.newEvent | ( | ) |
Create a refresh new EventBuilder to use within this context
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
void org.keycloak.authentication.AbstractAuthenticationFlowContext.success | ( | ) |
Mark the current execution as successful. The flow will then continue
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。