Class CSRFTokenManager.DefaultCSRFTokenValidationPredicate

java.lang.Object
net.shibboleth.idp.ui.csrf.CSRFTokenManager.DefaultCSRFTokenValidationPredicate
All Implemented Interfaces:
BiPredicate<CSRFToken,​String>
Enclosing class:
CSRFTokenManager

private static class CSRFTokenManager.DefaultCSRFTokenValidationPredicate
extends Object
implements BiPredicate<CSRFToken,​String>
A simple default CSRF token validation predicate. Tests the CSRF token matches the request token by exact string (sequence of characters) match. Tokens will not match, returns false, if either of the tokens are null.
  • Constructor Details

    • DefaultCSRFTokenValidationPredicate

      private DefaultCSRFTokenValidationPredicate()
  • Method Details