Class RestfulRegisteredServiceProxyPolicy

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.services.RegisteredServiceProxyPolicy

    public class RestfulRegisteredServiceProxyPolicy
    extends java.lang.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:
    Serialized Form
    • Constructor Detail

      • RestfulRegisteredServiceProxyPolicy

        public RestfulRegisteredServiceProxyPolicy()
    • Method Detail

      • isAllowedToProxy

        public boolean isAllowedToProxy()
        Specified by:
        isAllowedToProxy in interface org.apereo.cas.services.RegisteredServiceProxyPolicy
      • isAllowedProxyCallbackUrl

        public boolean isAllowedProxyCallbackUrl​(org.apereo.cas.services.RegisteredService registeredService,
                                                 java.net.URL pgtUrl)
        Specified by:
        isAllowedProxyCallbackUrl in interface org.apereo.cas.services.RegisteredServiceProxyPolicy