Class RegexMatchingRegisteredServiceProxyPolicy

java.lang.Object
org.apereo.cas.services.RegexMatchingRegisteredServiceProxyPolicy
All Implemented Interfaces:
Serializable, org.apereo.cas.services.RegisteredServiceProxyPolicy

public class RegexMatchingRegisteredServiceProxyPolicy extends Object implements org.apereo.cas.services.RegisteredServiceProxyPolicy
A proxy policy that only allows proxying to pgt urls that match the specified regex pattern.
Since:
4.1.0
See Also:
  • Constructor Details

    • RegexMatchingRegisteredServiceProxyPolicy

      public RegexMatchingRegisteredServiceProxyPolicy()
  • Method Details

    • isAllowedToProxy

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

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