Interface SecurityGrantedAccessAdapter<R,​C extends WebContext>


  • public interface SecurityGrantedAccessAdapter<R,​C extends WebContext>
    Success adapter.
    Since:
    1.9.0
    Author:
    Jerome Leleu
    • Method Detail

      • adapt

        R adapt​(C context,
                Collection<UserProfile> profiles,
                Object... parameters)
         throws Exception
        Adapt the current successful action as the expected result.
        Parameters:
        context - the web context
        parameters - additional parameters
        profiles - the profiles granted, can be empty
        Returns:
        an adapted result
        Throws:
        Exception - any exception