Interface SecurityGrantedAccessAdapter

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SecurityGrantedAccessAdapter
Success adapter.
Since:
1.9.0
Author:
Jerome Leleu
  • Method Details

    • adapt

      Object adapt(WebContext context, SessionStore sessionStore, Collection<UserProfile> profiles) throws Exception
      Adapt the current successful action as the expected result.
      Parameters:
      context - the web context
      sessionStore - the session store
      profiles - the profiles granted, can be empty
      Returns:
      an adapted result
      Throws:
      Exception - any exception