Class StrictTransportSecurityMatcher

java.lang.Object
org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
All Implemented Interfaces:
Matcher

public class StrictTransportSecurityMatcher extends Object implements Matcher
Strict transport security header matcher.
Since:
4.0.0
Author:
Jerome Leleu
  • Constructor Details

    • StrictTransportSecurityMatcher

      public StrictTransportSecurityMatcher()

      Constructor for StrictTransportSecurityMatcher.

    • StrictTransportSecurityMatcher

      public StrictTransportSecurityMatcher(int maxAge)

      Constructor for StrictTransportSecurityMatcher.

      Parameters:
      maxAge - a int
  • Method Details

    • matches

      public boolean matches(CallContext ctx)
      Check if the context matches.
      Specified by:
      matches in interface Matcher
      Parameters:
      ctx - the context
      Returns:
      whether the context matches