Package org.pac4j.core.matching.matcher
Class StrictTransportSecurityMatcher
java.lang.Object
org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- All Implemented Interfaces:
Matcher
Strict transport security header matcher.
- Since:
- 4.0.0
- Author:
- Jerome Leleu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanmatches(WebContext context, SessionStore sessionStore) Check if the web context matches.voidsetMaxAge(int maxAge) toString()
-
Constructor Details
-
StrictTransportSecurityMatcher
public StrictTransportSecurityMatcher() -
StrictTransportSecurityMatcher
public StrictTransportSecurityMatcher(int maxAge)
-
-
Method Details
-
matches
Description copied from interface:MatcherCheck if the web context matches. -
getMaxAge
public int getMaxAge() -
setMaxAge
public void setMaxAge(int maxAge) -
toString
-