Package org.apereo.cas.services
Class RestfulRegisteredServiceProxyPolicy
java.lang.Object
org.apereo.cas.services.RestfulRegisteredServiceProxyPolicy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceProxyPolicy
public class RestfulRegisteredServiceProxyPolicy
extends Object
implements org.apereo.cas.services.RegisteredServiceProxyPolicy
A proxy policy that only allows proxying to pgt urls
via a REST endpoint.
- Since:
- 6.6.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isAllowedProxyCallbackUrl
(org.apereo.cas.services.RegisteredService registeredService, URL pgtUrl) boolean
setEndpoint
(String endpoint) setHeaders
(Map<String, String> headers) toString()
-
Constructor Details
-
RestfulRegisteredServiceProxyPolicy
public RestfulRegisteredServiceProxyPolicy()
-
-
Method Details
-
isAllowedToProxy
public boolean isAllowedToProxy()- Specified by:
isAllowedToProxy
in interfaceorg.apereo.cas.services.RegisteredServiceProxyPolicy
-
isAllowedProxyCallbackUrl
public boolean isAllowedProxyCallbackUrl(org.apereo.cas.services.RegisteredService registeredService, URL pgtUrl) - Specified by:
isAllowedProxyCallbackUrl
in interfaceorg.apereo.cas.services.RegisteredServiceProxyPolicy
-
toString
-
getEndpoint
-
getHeaders
-
setEndpoint
- Returns:
this
.
-
setHeaders
- Returns:
this
.
-
equals
-
hashCode
public int hashCode()
-