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.
Success adapter.
- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptionadapt
(WebContext context, SessionStore sessionStore, Collection<UserProfile> profiles) Adapt the current successful action as the expected result.
-
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 contextsessionStore
- the session storeprofiles
- the profiles granted, can be empty- Returns:
- an adapted result
- Throws:
Exception
- any exception
-