public class ClientCredentialsProviderUtils extends Object
Constructor and Description |
---|
ClientCredentialsProviderUtils() |
Modifier and Type | Method and Description |
---|---|
static ClientCredentialsProvider |
bootstrapClientAuthenticator(KeycloakDeployment deployment) |
static void |
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 method
setClientCredentials(KeycloakDeployment, Map, Map) |
static void |
setClientCredentials(KeycloakDeployment deployment,
Map<String,String> requestHeaders,
Map<String,String> formparams)
Use this method when calling backchannel request directly from your application.
|
public static ClientCredentialsProvider bootstrapClientAuthenticator(KeycloakDeployment deployment)
public static void setClientCredentials(KeycloakDeployment deployment, Map<String,String> requestHeaders, Map<String,String> formparams)
public static void setClientCredentials(KeycloakDeployment deployment, org.apache.http.client.methods.HttpPost post, List<org.apache.http.NameValuePair> formparams)
setClientCredentials(KeycloakDeployment, Map, Map)
Copyright © 2019 JBoss by Red Hat. All rights reserved.