Class OAuthTokenValidationConfigResolver
java.lang.Object
org.apache.camel.spi.OAuthTokenValidationConfigResolver
Resolves
OAuthTokenValidationConfig instances from Camel OAuth profile properties.- Since:
- 4.21
-
Method Summary
Modifier and TypeMethodDescriptionstatic OAuthTokenValidationConfigresolveDefaultProfileConfig(CamelContext context) Resolves the default token validation profile from Camel properties.static OAuthTokenValidationConfigresolveProfileConfig(CamelContext context, String profileName) Resolves a named token validation profile from Camel properties.
-
Method Details
-
resolveProfileConfig
public static OAuthTokenValidationConfig resolveProfileConfig(CamelContext context, String profileName) Resolves a named token validation profile from Camel properties.- Parameters:
context- the CamelContext to resolve properties fromprofileName- the named profile- Returns:
- the resolved profile configuration
- Since:
- 4.21
-
resolveDefaultProfileConfig
Resolves the default token validation profile from Camel properties.- Parameters:
context- the CamelContext to resolve properties from- Returns:
- the resolved profile configuration
- Since:
- 4.21
-