Class RequestCacheConfigurer

java.lang.Object
com.codename1.backend.security.SecurityConfigurer
com.codename1.backend.security.RequestCacheConfigurer

public final class RequestCacheConfigurer extends SecurityConfigurer
Whether a chain remembers where an anonymous request was going; see RequestCache. A chain that sends such a request to a login page remembers it in the session; one that only challenges -- HTTP Basic -- has nothing to come back from and remembers nothing, unless a cache is set here.
  • Method Details

    • requestCache

      public RequestCacheConfigurer requestCache(RequestCache requestCache)
    • resolve

      public RequestCache resolve(SessionCreationPolicy policy, boolean redirects)
      Parameters:
      redirects - whether the chain answers a request that must sign in by sending it to a login page, which is when there is somewhere to come back from