congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CsrfPreventionFilter$LruCache
Code IndexAdd Tabnine to your IDE (free)

How to use
CsrfPreventionFilter$LruCache
in
org.apache.catalina.filters

Best Java code snippets using org.apache.catalina.filters.CsrfPreventionFilter$LruCache (Showing top 10 results out of 315)

origin: org.glassfish.main.web/web-core

      !nonceCache.contains(previousNonce)) {
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  if (session == null) {
    session = req.getSession(true);
nonceCache.add(newNonce);
origin: org.apache.geronimo.ext.tomcat/catalina

      !nonceCache.contains(previousNonce)) {
    res.sendError(denyStatus);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  if (session == null) {
    session = req.getSession(true);
nonceCache.add(newNonce);
origin: org.jboss.web/jbossweb

      || !nonceCache.contains(previousNonce)) {
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  if (session == null) {
    session = req.getSession(true);
nonceCache.add(newNonce);
origin: codefollower/Tomcat-Research

      !nonceCache.contains(previousNonce)) {
    res.sendError(denyStatus);
    return;
  nonceCache = new LruCache<>(nonceCacheSize);
  if (session == null) {
    session = req.getSession(true);
nonceCache.add(newNonce);
origin: com.ovea.tajin.servers/tajin-server-jetty9

    req.getParameter(Constants.CSRF_NONCE_REQUEST_PARAM);
  if (nonceCache != null && !nonceCache.contains(previousNonce)) {
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  req.getSession().setAttribute(
      Constants.CSRF_NONCE_SESSION_ATTR_NAME, nonceCache);
nonceCache.add(newNonce);
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

      !nonceCache.contains(previousNonce)) {
    res.sendError(getDenyStatus());
    return;
  nonceCache = new LruCache<>(nonceCacheSize);
  if (session == null) {
    session = req.getSession(true);
nonceCache.add(newNonce);
origin: com.ovea.tajin.server/tajin-server-tomcat7

    req.getParameter(Constants.CSRF_NONCE_REQUEST_PARAM);
  if (nonceCache != null && !nonceCache.contains(previousNonce)) {
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  req.getSession().setAttribute(
      Constants.CSRF_NONCE_SESSION_ATTR_NAME, nonceCache);
nonceCache.add(newNonce);
origin: com.ovea.tajin.server/tajin-server-jetty9

    req.getParameter(Constants.CSRF_NONCE_REQUEST_PARAM);
  if (nonceCache != null && !nonceCache.contains(previousNonce)) {
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  req.getSession().setAttribute(
      Constants.CSRF_NONCE_SESSION_ATTR_NAME, nonceCache);
nonceCache.add(newNonce);
origin: org.apache.catalina/com.springsource.org.apache.catalina

    req.getParameter(Constants.CSRF_NONCE_REQUEST_PARAM);
  if (nonceCache != null && !nonceCache.contains(previousNonce)) {
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  nonceCache = new LruCache<String>(nonceCacheSize);
  req.getSession().setAttribute(
      Constants.CSRF_NONCE_SESSION_ATTR_NAME, nonceCache);
nonceCache.add(newNonce);
origin: org.apache.tomcat/tomcat-catalina

      !nonceCache.contains(previousNonce)) {
    res.sendError(getDenyStatus());
    return;
  nonceCache = new LruCache<>(nonceCacheSize);
  if (session == null) {
    session = req.getSession(true);
nonceCache.add(newNonce);
org.apache.catalina.filtersCsrfPreventionFilter$LruCache

Most used methods

  • <init>
  • add
  • contains

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • String (java.lang)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ImageIO (javax.imageio)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now