Class AuthenticationProviderBearerTokenImpl
java.lang.Object
com.aeontronix.enhancedmule.tools.anypoint.authentication.AuthenticationProvider
com.aeontronix.enhancedmule.tools.anypoint.authentication.AuthenticationProviderBearerTokenImpl
- All Implemented Interfaces:
com.aeontronix.restclient.auth.AuthenticationHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyCredentials(com.aeontronix.restclient.RESTRequest request) filterSecret(String resStr) getBearerToken(HttpHelper httpHelper) booleanbooleanvoidrefreshCredential(com.aeontronix.restclient.RESTClient restClient) Methods inherited from class com.aeontronix.enhancedmule.tools.anypoint.authentication.AuthenticationProvider
createHttpClient, createHttpClient
-
Constructor Details
-
AuthenticationProviderBearerTokenImpl
-
-
Method Details
-
getBearerToken
- Specified by:
getBearerTokenin classAuthenticationProvider- Throws:
HttpException
-
filterSecret
- Specified by:
filterSecretin classAuthenticationProvider
-
isRefreshRequired
public boolean isRefreshRequired() -
isRefreshable
public boolean isRefreshable() -
applyCredentials
public void applyCredentials(com.aeontronix.restclient.RESTRequest request) -
refreshCredential
public void refreshCredential(com.aeontronix.restclient.RESTClient restClient) throws com.aeontronix.restclient.RESTException - Throws:
com.aeontronix.restclient.RESTException
-