Package org.pac4j.core.engine
Interface SecurityGrantedAccessAdapter<R,C extends WebContext>
-
public interface SecurityGrantedAccessAdapter<R,C extends WebContext>
Success adapter.- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
adapt(C context, Collection<UserProfile> profiles, Object... parameters)
Adapt the current successful action as the expected result.
-
-
-
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 contextparameters
- additional parametersprofiles
- the profiles granted, can be empty- Returns:
- an adapted result
- Throws:
Exception
- any exception
-
-