Class EntitlementAdministratorPropertyProvider
- java.lang.Object
-
- be.personify.util.properties.provider.EntitlementPropertyProvider
-
- be.personify.util.properties.provider.impl.EntitlementAdministratorPropertyProvider
-
public class EntitlementAdministratorPropertyProvider extends EntitlementPropertyProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIGURATION_KEY_AUTHORIZATION_URLstatic StringCONFIGURATION_KEY_CLIENTIDstatic StringCONFIGURATION_KEY_ENTITLEMENT_URLstatic StringCONFIGURATION_KEY_SECRET-
Fields inherited from class be.personify.util.properties.provider.EntitlementPropertyProvider
configuration
-
-
Constructor Summary
Constructors Constructor Description EntitlementAdministratorPropertyProvider(Map<String,String> configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getProperties(EntitlementPropertyFilter filter, Locale locale)org.springframework.web.client.RestTemplategetRestTemplate()MapgetTokenResponse()voidvalidateConfiguration(Map<String,String> configuration)
-
-
-
Field Detail
-
CONFIGURATION_KEY_AUTHORIZATION_URL
public static final String CONFIGURATION_KEY_AUTHORIZATION_URL
- See Also:
- Constant Field Values
-
CONFIGURATION_KEY_SECRET
public static final String CONFIGURATION_KEY_SECRET
- See Also:
- Constant Field Values
-
CONFIGURATION_KEY_CLIENTID
public static final String CONFIGURATION_KEY_CLIENTID
- See Also:
- Constant Field Values
-
CONFIGURATION_KEY_ENTITLEMENT_URL
public static final String CONFIGURATION_KEY_ENTITLEMENT_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperties
public Map<String,String> getProperties(EntitlementPropertyFilter filter, Locale locale)
- Specified by:
getPropertiesin classEntitlementPropertyProvider
-
getRestTemplate
public org.springframework.web.client.RestTemplate getRestTemplate()
-
getTokenResponse
public Map getTokenResponse()
-
validateConfiguration
public void validateConfiguration(Map<String,String> configuration) throws Exception
- Specified by:
validateConfigurationin classEntitlementPropertyProvider- Throws:
Exception
-
-