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 Detail

      • adapt

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