Class CorsMatcher

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

public class CorsMatcher extends Object implements Matcher
Define how the CORS requests are authorized.
Since:
4.0.0
Author:
Jerome Leleu
  • Constructor Details

    • CorsMatcher

      public CorsMatcher()
  • 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