Package org.pac4j.core.engine
Interface SecurityLogic
-
- All Known Implementing Classes:
DefaultSecurityLogic
- 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 SecurityLogic
Security logic to protect an url.- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
perform(WebContext context, SessionStore sessionStore, Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, HttpActionAdapter httpActionAdapter, java.lang.String clients, java.lang.String authorizers, java.lang.String matchers, java.lang.Object... parameters)
Perform the security logic.
-
-
-
Method Detail
-
perform
java.lang.Object perform(WebContext context, SessionStore sessionStore, Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, HttpActionAdapter httpActionAdapter, java.lang.String clients, java.lang.String authorizers, java.lang.String matchers, java.lang.Object... parameters)
Perform the security logic.- Parameters:
context
- the web contextsessionStore
- the session storeconfig
- the configurationsecurityGrantedAccessAdapter
- the success adapterhttpActionAdapter
- the HTTP action adapterclients
- the defined clientsauthorizers
- the defined authorizersmatchers
- the defined matchersparameters
- additional parameters- Returns:
- the resulting action of the security
-
-