Class AfterRequestContext

java.lang.Object
ch.tocco.nice2.web.core.impl.auth.AfterRequestContext

public class AfterRequestContext extends Object
This class contains the SecurityContext before and after the request chain has been executed.
  • Constructor Details

  • Method Details

    • getBefore

      public Optional<SecurityContext> getBefore()
    • getAfter

      public Optional<SecurityContext> getAfter()
    • beforeAnonymousAfterLoggedIn

      public boolean beforeAnonymousAfterLoggedIn()
    • beforeLoggedInAfterAnonymous

      public boolean beforeLoggedInAfterAnonymous()
    • beforeAndAfterSameUser

      public boolean beforeAndAfterSameUser()
    • beforeAndAfterDifferentUser

      public boolean beforeAndAfterDifferentUser()