public class OAuth2RestfulJsonNotificationService extends RestfulJsonNotificationService
OAuth2RestTemplate.
Most of the work is done by the superclass (RestfulJsonNotificationService); this class
merely leverages a different template and a different property/preference.| Constructor and Description |
|---|
OAuth2RestfulJsonNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.client.RestTemplate |
getRestTemplate()
This Notification Service provides (and uses!) a
protected getter for it's
restTemplate so that subclasses may override the getter and provide their own
template. |
protected java.util.List<java.lang.String> |
getServiceUrls()
The list of locations is wrapped in a protected method so that subclasses can override it.
|
protected java.util.List<java.lang.String> |
getServiceUrls(javax.portlet.PortletRequest req)
Deprecated.
|
void |
init() |
fetch, fetch, setPasswordEvaluator, setRestTemplate, setUrlParameterEvaluators, setUsernameEvaluatorcollect, createServiceUserWindowSpecificCacheKey, getName, invoke, isValid, prepareErrorResponse, setNamepublic OAuth2RestfulJsonNotificationService()
@PostConstruct public void init()
init in class RestfulJsonNotificationServiceprotected org.springframework.web.client.RestTemplate getRestTemplate()
RestfulJsonNotificationServiceprotected getter for it's
restTemplate so that subclasses may override the getter and provide their own
template.getRestTemplate in class RestfulJsonNotificationService@Deprecated protected java.util.List<java.lang.String> getServiceUrls(javax.portlet.PortletRequest req)
RestfulJsonNotificationServicegetServiceUrls in class RestfulJsonNotificationServiceprotected java.util.List<java.lang.String> getServiceUrls()
RestfulJsonNotificationServicegetServiceUrls in class RestfulJsonNotificationService