Package org.wildfly.security.http.oidc
Class ClientCredentialsProviderUtils
- java.lang.Object
-
- org.wildfly.security.http.oidc.ClientCredentialsProviderUtils
-
public class ClientCredentialsProviderUtils extends Object
- Author:
- Marek Posolda, Farah Juma
-
-
Constructor Summary
Constructors Constructor Description ClientCredentialsProviderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientCredentialsProvider
bootstrapClientAuthenticator(OidcClientConfiguration oidcClientConfiguration)
private static void
loadAuthenticators(Map<String,ClientCredentialsProvider> authenticators, ClassLoader classLoader)
static void
setClientCredentials(OidcClientConfiguration oidcClientConfiguration, Map<String,String> requestHeaders, Map<String,String> formparams)
Use this method when calling backchannel request directly from your application.static void
setClientCredentials(OidcClientConfiguration oidcClientConfiguration, org.apache.http.client.methods.HttpPost post, List<org.apache.http.NameValuePair> formparams)
Don't use directly from your apps to avoid HttpClient linkage errors! Instead use the methodsetClientCredentials(OidcClientConfiguration, Map, Map)
-
-
-
Method Detail
-
bootstrapClientAuthenticator
public static ClientCredentialsProvider bootstrapClientAuthenticator(OidcClientConfiguration oidcClientConfiguration)
-
loadAuthenticators
private static void loadAuthenticators(Map<String,ClientCredentialsProvider> authenticators, ClassLoader classLoader)
-
setClientCredentials
public static void setClientCredentials(OidcClientConfiguration oidcClientConfiguration, Map<String,String> requestHeaders, Map<String,String> formparams)
Use this method when calling backchannel request directly from your application.
-
setClientCredentials
public static void setClientCredentials(OidcClientConfiguration oidcClientConfiguration, org.apache.http.client.methods.HttpPost post, List<org.apache.http.NameValuePair> formparams)
Don't use directly from your apps to avoid HttpClient linkage errors! Instead use the methodsetClientCredentials(OidcClientConfiguration, Map, Map)
-
-