Uses of Class
org.keycloak.adapters.KeycloakDeployment
-
Packages that use KeycloakDeployment Package Description org.keycloak.adapters org.keycloak.adapters.authentication org.keycloak.adapters.authorization org.keycloak.adapters.jaas org.keycloak.adapters.rotation -
-
Uses of KeycloakDeployment in org.keycloak.adapters
Subclasses of KeycloakDeployment in org.keycloak.adapters Modifier and Type Class Description protected static classAdapterDeploymentContext.DeploymentDelegateThis delegate is used to store temporary, per-request metadata like request resolved URLs.Fields in org.keycloak.adapters declared as KeycloakDeployment Modifier and Type Field Description protected KeycloakDeploymentAdapterDeploymentContext.DeploymentDelegate. delegateprotected KeycloakDeploymentAdapterDeploymentContext. deploymentprotected KeycloakDeploymentAuthenticatedActionsHandler. deploymentprotected KeycloakDeploymentBearerTokenRequestAuthenticator. deploymentprotected KeycloakDeploymentKeycloakDeploymentBuilder. deploymentprotected KeycloakDeploymentOAuthRequestAuthenticator. deploymentprotected KeycloakDeploymentPreAuthActionsHandler. deploymentprotected KeycloakDeploymentRefreshableKeycloakSecurityContext. deploymentprotected KeycloakDeploymentRequestAuthenticator. deploymentMethods in org.keycloak.adapters that return KeycloakDeployment Modifier and Type Method Description static KeycloakDeploymentKeycloakDeploymentBuilder. build(InputStream is)static KeycloakDeploymentKeycloakDeploymentBuilder. build(org.keycloak.representations.adapters.config.AdapterConfig adapterConfig)KeycloakDeploymentRefreshableKeycloakSecurityContext. getDeployment()protected KeycloakDeploymentKeycloakDeploymentBuilder. internalBuild(org.keycloak.representations.adapters.config.AdapterConfig adapterConfig)KeycloakDeploymentKeycloakConfigResolver. resolve(org.keycloak.adapters.spi.HttpFacade.Request facade)Resolves the KeycloakDeployment based on the RequestKeycloakDeploymentAdapterDeploymentContext. resolveDeployment(org.keycloak.adapters.spi.HttpFacade facade)For single-tenant deployments, it complements KeycloakDeployment by resolving a relative Auth Server's URL based on the current request For multi-tenant deployments, defers the resolution of KeycloakDeployment to the KeycloakConfigResolver .protected KeycloakDeploymentAdapterDeploymentContext. resolveUrls(KeycloakDeployment deployment, org.keycloak.adapters.spi.HttpFacade facade)Methods in org.keycloak.adapters with parameters of type KeycloakDeployment Modifier and Type Method Description static org.keycloak.KeycloakPrincipal<RefreshableKeycloakSecurityContext>AdapterUtils. createPrincipal(KeycloakDeployment deployment, RefreshableKeycloakSecurityContext securityContext)static org.keycloak.KeycloakPrincipal<RefreshableKeycloakSecurityContext>CookieTokenStore. getPrincipalFromCookie(KeycloakDeployment deployment, org.keycloak.adapters.spi.HttpFacade facade, AdapterTokenStore tokenStore)static StringAdapterUtils. getPrincipalName(KeycloakDeployment deployment, org.keycloak.representations.AccessToken token)static org.keycloak.representations.AccessTokenResponseServerRequest. invokeAccessCodeToToken(KeycloakDeployment deployment, String code, String redirectUri, String sessionId)static org.keycloak.representations.AccessTokenResponseServerRequest. invokeAccessCodeToToken(KeycloakDeployment deployment, String code, String redirectUri, String sessionId, String codeVerifier)static voidServerRequest. invokeClientManagementRequest(KeycloakDeployment deployment, String host, String endpointUrl)static voidServerRequest. invokeLogout(KeycloakDeployment deployment, String refreshToken)static org.keycloak.representations.AccessTokenResponseServerRequest. invokeRefresh(KeycloakDeployment deployment, String refreshToken)static voidServerRequest. invokeRegisterNode(KeycloakDeployment deployment, String host)static voidServerRequest. invokeUnregisterNode(KeycloakDeployment deployment, String host)voidRefreshableKeycloakSecurityContext. logout(KeycloakDeployment deployment)static voidCookieTokenStore. removeCookie(KeycloakDeployment deployment, org.keycloak.adapters.spi.HttpFacade facade)protected KeycloakDeploymentAdapterDeploymentContext. resolveUrls(KeycloakDeployment deployment, org.keycloak.adapters.spi.HttpFacade facade)static <T> THttpAdapterUtils. sendJsonHttpRequest(KeycloakDeployment deployment, org.apache.http.client.methods.HttpRequestBase httpRequest, Class<T> clazz)protected voidNodesRegistrationManagement. sendRegistrationEvent(KeycloakDeployment deployment)protected booleanNodesRegistrationManagement. sendUnregistrationEvent(KeycloakDeployment deployment)voidRefreshableKeycloakSecurityContext. setCurrentRequestInfo(KeycloakDeployment deployment, AdapterTokenStore tokenStore)static voidCookieTokenStore. setTokenCookie(KeycloakDeployment deployment, org.keycloak.adapters.spi.HttpFacade facade, RefreshableKeycloakSecurityContext session)voidNodesRegistrationManagement. tryRegister(KeycloakDeployment resolvedDeployment)Constructors in org.keycloak.adapters with parameters of type KeycloakDeployment Constructor Description AdapterDeploymentContext(KeycloakDeployment deployment)For single-tenant deployments, this constructor is to be used, as a full KeycloakDeployment is known at deployment time and won't change during the application deployment's life cycle.AuthenticatedActionsHandler(KeycloakDeployment deployment, OIDCHttpFacade facade)BasicAuthRequestAuthenticator(KeycloakDeployment deployment)BearerTokenRequestAuthenticator(KeycloakDeployment deployment)DeploymentDelegate(KeycloakDeployment delegate)NodeRegistrationContext(Integer lastRegTime, KeycloakDeployment deployment)OAuthRequestAuthenticator(RequestAuthenticator requestAuthenticator, org.keycloak.adapters.spi.HttpFacade facade, KeycloakDeployment deployment, int sslRedirectPort, org.keycloak.adapters.spi.AdapterSessionStore tokenStore)QueryParameterTokenRequestAuthenticator(KeycloakDeployment deployment)RefreshableKeycloakSecurityContext(KeycloakDeployment deployment, AdapterTokenStore tokenStore, String tokenString, org.keycloak.representations.AccessToken token, String idTokenString, org.keycloak.representations.IDToken idToken, String refreshToken)RequestAuthenticator(org.keycloak.adapters.spi.HttpFacade facade, KeycloakDeployment deployment)RequestAuthenticator(org.keycloak.adapters.spi.HttpFacade facade, KeycloakDeployment deployment, AdapterTokenStore tokenStore, int sslRedirectPort) -
Uses of KeycloakDeployment in org.keycloak.adapters.authentication
Methods in org.keycloak.adapters.authentication with parameters of type KeycloakDeployment Modifier and Type Method Description static ClientCredentialsProviderClientCredentialsProviderUtils. bootstrapClientAuthenticator(KeycloakDeployment deployment)voidClientCredentialsProvider. init(KeycloakDeployment deployment, Object config)Called by adapter during deployment of your application.voidClientIdAndSecretCredentialsProvider. init(KeycloakDeployment deployment, Object config)voidJWTClientCredentialsProvider. init(KeycloakDeployment deployment, Object config)voidJWTClientSecretCredentialsProvider. init(KeycloakDeployment deployment, Object config)voidClientCredentialsProvider. setClientCredentials(KeycloakDeployment deployment, Map<String,String> requestHeaders, Map<String,String> formParams)Called every time adapter needs to perform backchannel requeststatic voidClientCredentialsProviderUtils. setClientCredentials(KeycloakDeployment deployment, Map<String,String> requestHeaders, Map<String,String> formparams)Use this method when calling backchannel request directly from your application.static voidClientCredentialsProviderUtils. setClientCredentials(KeycloakDeployment deployment, org.apache.http.client.methods.HttpPost post, List<org.apache.http.NameValuePair> formparams)Don't use directly from your JEE apps to avoid HttpClient linkage errors! Instead use the methodClientCredentialsProviderUtils.setClientCredentials(KeycloakDeployment, Map, Map)voidClientIdAndSecretCredentialsProvider. setClientCredentials(KeycloakDeployment deployment, Map<String,String> requestHeaders, Map<String,String> formParams)voidJWTClientCredentialsProvider. setClientCredentials(KeycloakDeployment deployment, Map<String,String> requestHeaders, Map<String,String> formParams)voidJWTClientSecretCredentialsProvider. setClientCredentials(KeycloakDeployment deployment, Map<String,String> requestHeaders, Map<String,String> formParams) -
Uses of KeycloakDeployment in org.keycloak.adapters.authorization
Methods in org.keycloak.adapters.authorization that return KeycloakDeployment Modifier and Type Method Description KeycloakDeploymentPolicyEnforcer. getDeployment()Constructors in org.keycloak.adapters.authorization with parameters of type KeycloakDeployment Constructor Description PolicyEnforcer(KeycloakDeployment deployment, org.keycloak.representations.adapters.config.AdapterConfig adapterConfig) -
Uses of KeycloakDeployment in org.keycloak.adapters.jaas
Fields in org.keycloak.adapters.jaas declared as KeycloakDeployment Modifier and Type Field Description protected KeycloakDeploymentAbstractKeycloakLoginModule. deploymentMethods in org.keycloak.adapters.jaas that return KeycloakDeployment Modifier and Type Method Description protected KeycloakDeploymentAbstractKeycloakLoginModule. resolveDeployment(String keycloakConfigFile) -
Uses of KeycloakDeployment in org.keycloak.adapters.rotation
Methods in org.keycloak.adapters.rotation with parameters of type KeycloakDeployment Modifier and Type Method Description static <T extends org.keycloak.representations.JsonWebToken>
org.keycloak.TokenVerifier<T>AdapterTokenVerifier. createVerifier(String tokenString, KeycloakDeployment deployment, boolean withDefaultChecks, Class<T> tokenClass)Creates verifier, initializes it from the KeycloakDeployment and adds the publicKey and some default basic checks (activeness and tokenType).PublicKeyHardcodedPublicKeyLocator. getPublicKey(String kid, KeycloakDeployment deployment)PublicKeyJWKPublicKeyLocator. getPublicKey(String kid, KeycloakDeployment deployment)PublicKeyPublicKeyLocator. getPublicKey(String kid, KeycloakDeployment deployment)voidHardcodedPublicKeyLocator. reset(KeycloakDeployment deployment)voidJWKPublicKeyLocator. reset(KeycloakDeployment deployment)voidPublicKeyLocator. reset(KeycloakDeployment deployment)Reset the state of locator (eg.static org.keycloak.representations.AccessTokenAdapterTokenVerifier. verifyToken(String tokenString, KeycloakDeployment deployment)Verifies bearer token.static AdapterTokenVerifier.VerifiedTokensAdapterTokenVerifier. verifyTokens(String accessTokenString, String idTokenString, KeycloakDeployment deployment)Verify access token and ID token.
-