keycloak
|
公開メンバ関数 | |
Response | errorResponse (int status, String error, String errorDescription) |
void | action (AuthenticationFlowContext context) |
CertificateValidator.CertificateValidatorBuilder | certificateValidationParameters (X509AuthenticatorConfigModel config) throws Exception |
void | close () |
UserIdentityExtractor | getUserIdentityExtractor (X509AuthenticatorConfigModel config) |
UserIdentityToModelMapper | getUserIdentityToModelMapper (X509AuthenticatorConfigModel config) |
boolean | requiresUser () |
boolean | configuredFor (KeycloakSession session, RealmModel realm, UserModel user) |
void | setRequiredActions (KeycloakSession session, RealmModel realm, UserModel user) |
void | authenticate (AuthenticationFlowContext context) |
静的公開変数類 | |
static final String | DEFAULT_ATTRIBUTE_NAME = "usercertificate" |
static final String | REGULAR_EXPRESSION = "x509-cert-auth.regular-expression" |
static final String | ENABLE_CRL = "x509-cert-auth.crl-checking-enabled" |
static final String | ENABLE_OCSP = "x509-cert-auth.ocsp-checking-enabled" |
static final String | ENABLE_CRLDP = "x509-cert-auth.crldp-checking-enabled" |
static final String | CRL_RELATIVE_PATH = "x509-cert-auth.crl-relative-path" |
static final String | OCSPRESPONDER_URI = "x509-cert-auth.ocsp-responder-uri" |
static final String | MAPPING_SOURCE_SELECTION = "x509-cert-auth.mapping-source-selection" |
static final String | MAPPING_SOURCE_CERT_SUBJECTDN = "Match SubjectDN using regular expression" |
static final String | MAPPING_SOURCE_CERT_SUBJECTDN_EMAIL = "Subject's e-mail" |
static final String | MAPPING_SOURCE_CERT_SUBJECTALTNAME_EMAIL = "Subject's Alternative Name E-mail" |
static final String | MAPPING_SOURCE_CERT_SUBJECTDN_CN = "Subject's Common Name" |
static final String | MAPPING_SOURCE_CERT_ISSUERDN = "Match IssuerDN using regular expression" |
static final String | MAPPING_SOURCE_CERT_ISSUERDN_EMAIL = "Issuer's e-mail" |
static final String | MAPPING_SOURCE_CERT_ISSUERDN_CN = "Issuer's Common Name" |
static final String | MAPPING_SOURCE_CERT_SERIALNUMBER = "Certificate Serial Number" |
static final String | USER_MAPPER_SELECTION = "x509-cert-auth.mapper-selection" |
static final String | USER_ATTRIBUTE_MAPPER = "Custom Attribute Mapper" |
static final String | USERNAME_EMAIL_MAPPER = "Username or Email" |
static final String | CUSTOM_ATTRIBUTE_NAME = "x509-cert-auth.mapper-selection.user-attribute-name" |
static final String | CERTIFICATE_KEY_USAGE = "x509-cert-auth.keyusage" |
static final String | CERTIFICATE_EXTENDED_KEY_USAGE = "x509-cert-auth.extendedkeyusage" |
static final String | CONFIRMATION_PAGE_DISALLOWED = "x509-cert-auth.confirmation-page-disallowed" |
限定公開メンバ関数 | |
Response | createInfoResponse (AuthenticationFlowContext context, String infoMessage, Object ... parameters) |
X509Certificate [] | getCertificateChain (AuthenticationFlowContext context) |
静的限定公開変数類 | |
static ServicesLogger | logger = ServicesLogger.LOGGER |
静的変数 | |
static final String | DEFAULT_MATCH_ALL_EXPRESSION = "(.*?)(?:$)" |
|
inline |
|
inherited |
Initial call for the authenticator. This method should check the current HTTP request to determine if the request satifies the Authenticator's requirements. If it doesn't, it should send back a challenge response by calling the AuthenticationFlowContext.challenge(Response). If this challenge is a authentication, the action URL of the form must point to
/realms/{realm}/login-actions/authenticate?code={session-code}&execution={executionId}
or
/realms/{realm}/login-actions/registration?code={session-code}&execution={executionId}
{session-code} pertains to the code generated from AuthenticationFlowContext.generateAccessCode(). The {executionId} pertains to the AuthenticationExecutionModel.getId() value obtained from AuthenticationFlowContext.getExecution().
The action URL will invoke the action() method described below.
context |
org.keycloak.authentication.authenticators.browser.ConditionalOtpFormAuthenticator, org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticator, org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator, org.keycloak.authentication.authenticators.browser.SpnegoAuthenticator, org.keycloak.authentication.authenticators.browser.UsernamePasswordForm, org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail, org.keycloak.authentication.authenticators.console.ConsoleOTPFormAuthenticator, org.keycloak.authentication.authenticators.console.ConsoleUsernamePasswordAuthenticator, org.keycloak.authentication.authenticators.x509.X509ClientCertificateAuthenticator, org.keycloak.authentication.authenticators.resetcred.ResetCredentialChooseUser, org.keycloak.authentication.authenticators.directgrant.ValidateUsername, org.keycloak.authentication.authenticators.challenge.BasicAuthAuthenticator, org.keycloak.authentication.authenticators.cli.CliUsernamePasswordAuthenticator, org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticator, org.keycloak.authentication.authenticators.browser.OTPFormAuthenticator, org.keycloak.authentication.authenticators.directgrant.ValidateOTP, org.keycloak.authentication.authenticators.directgrant.ValidatePassword, org.keycloak.authentication.authenticators.x509.ValidateX509CertificateUsername, org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticator, org.keycloak.authentication.authenticators.browser.CookieAuthenticator, org.keycloak.authentication.authenticators.resetcred.ResetPassword, org.keycloak.authentication.authenticators.resetcred.ResetOTP, org.keycloak.protocol.saml.profile.ecp.authenticator.HttpBasicAuthenticator, org.keycloak.authentication.authenticators.AttemptedAuthenticator (計24項目)で実装されています。
|
inlineinherited |
|
inlineinherited |
org.keycloak.provider.Providerを実装しています。
|
inlineinherited |
|
inlineprotectedinherited |
|
inline |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticpackageinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticprotectedinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |