Class DefaultServiceComparator

java.lang.Object
net.shibboleth.idp.cas.service.DefaultServiceComparator
net.shibboleth.idp.cas.service.impl.DefaultServiceComparator
All Implemented Interfaces:
Comparator<String>

@Deprecated(forRemoval=true,
            since="4.0.0")
public class DefaultServiceComparator
extends DefaultServiceComparator
Deprecated, for removal: This API element is subject to removal in a future version.
Default comparator implementation for comparing CAS service URLs. URL comparison is case-insensitive and supports ignoring predefined URL path parameters. The common session marker ;jessionid=value is ignored by default.
  • Constructor Details

    • DefaultServiceComparator

      public DefaultServiceComparator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new instance that ignores ;jsessionid=value.
    • DefaultServiceComparator

      public DefaultServiceComparator​(@Nonnull String... parameterNames)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new instance that ignores the given path parameter names (and any associated values).
      Parameters:
      parameterNames - List of path parameter names to ignore.