Package org.pac4j.core.engine
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
adapt(WebContext context, SessionStore sessionStore, java.util.Collection<UserProfile> profiles, java.lang.Object... parameters)
Adapt the current successful action as the expected result.
-
-
-
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 contextsessionStore
- the session storeparameters
- additional parametersprofiles
- the profiles granted, can be empty- Returns:
- an adapted result
- Throws:
java.lang.Exception
- any exception
-
-