Class JWTClientSecretAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.client.AbstractClientAuthenticator
org.keycloak.authentication.authenticators.client.JWTClientSecretAuthenticator
- All Implemented Interfaces:
org.keycloak.authentication.ClientAuthenticator,org.keycloak.authentication.ClientAuthenticatorFactory,org.keycloak.authentication.ConfigurableAuthenticatorFactory,org.keycloak.provider.ConfiguredPerClientProvider,org.keycloak.provider.ConfiguredProvider,org.keycloak.provider.Provider,org.keycloak.provider.ProviderFactory<org.keycloak.authentication.ClientAuthenticator>
Client authentication based on JWT signed by client secret instead of private key .
See specs for more details.
This is server side, which verifies JWT from client_assertion parameter, where the assertion was created on adapter side by org.keycloak.adapters.authentication.JWTClientSecretCredentialsProvider
-
Field Summary
FieldsFields inherited from class org.keycloak.authentication.authenticators.client.AbstractClientAuthenticator
loggerFields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticateClient(org.keycloak.authentication.ClientAuthenticationFlowContext context) getAdapterConfiguration(org.keycloak.models.KeycloakSession session, org.keycloak.models.ClientModel client) List<org.keycloak.provider.ProviderConfigProperty>List<org.keycloak.provider.ProviderConfigProperty>getId()getProtocolAuthenticatorMethods(String loginProtocol) org.keycloak.models.AuthenticationExecutionModel.Requirement[]booleanbooleanbooleanverifySignature(AbstractJWTClientValidator validator) Methods inherited from class org.keycloak.authentication.authenticators.client.AbstractClientAuthenticator
close, create, create, getReferenceCategory, init, isUserSetupAllowed, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.ClientAuthenticatorFactory
getProtocolAuthenticatorMethod, setClientAuthenticationMethodMethods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
getOptionalReferenceCategoriesMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
JWTClientSecretAuthenticator
public JWTClientSecretAuthenticator()
-
-
Method Details
-
authenticateClient
public void authenticateClient(org.keycloak.authentication.ClientAuthenticationFlowContext context) -
verifySignature
-
isConfigurable
public boolean isConfigurable() -
getConfigPropertiesPerClient
-
getAdapterConfiguration
-
getProtocolAuthenticatorMethods
-
supportsSecret
public boolean supportsSecret() -
getId
-
getDisplayType
-
getRequirementChoices
public org.keycloak.models.AuthenticationExecutionModel.Requirement[] getRequirementChoices() -
getHelpText
-
getConfigProperties
-