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,
HttpPost post,
List<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, HttpPost post, List<NameValuePair> formparams)
setClientCredentials(KeycloakDeployment, Map, Map)
Copyright © 2016 JBoss by Red Hat. All rights reserved.