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.
Security logic to protect an url.
- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptionperform
(Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, String clients, String authorizers, String matchers, FrameworkParameters parameters) Perform the security logic.
-
Method Details
-
perform
Object perform(Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, String clients, String authorizers, String matchers, FrameworkParameters parameters) Perform the security logic.- Parameters:
config
- the configurationsecurityGrantedAccessAdapter
- the success adapterclients
- the defined clientsauthorizers
- the defined authorizersmatchers
- the defined matchersparameters
- framework parameters- Returns:
- the resulting action of the security
-