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
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
matches
(WebContext context, SessionStore sessionStore) Check if the web context matches.void
setMaxAge
(int maxAge) toString()
-
Constructor Details
-
StrictTransportSecurityMatcher
public StrictTransportSecurityMatcher() -
StrictTransportSecurityMatcher
public StrictTransportSecurityMatcher(int maxAge)
-
-
Method Details
-
matches
Description copied from interface:Matcher
Check if the web context matches. -
getMaxAge
public int getMaxAge() -
setMaxAge
public void setMaxAge(int maxAge) -
toString
-