Package org.pac4j.core.engine
Interface SecurityLogic<R,C extends WebContext>
-
- All Known Implementing Classes:
DefaultSecurityLogic
public interface SecurityLogic<R,C extends WebContext>
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 R
perform(C context, Config config, SecurityGrantedAccessAdapter<R,C> securityGrantedAccessAdapter, HttpActionAdapter<R,C> httpActionAdapter, String clients, String authorizers, String matchers, Boolean multiProfile, Object... parameters)
Perform the security logic.
-
-
-
Method Detail
-
perform
R perform(C context, Config config, SecurityGrantedAccessAdapter<R,C> securityGrantedAccessAdapter, HttpActionAdapter<R,C> httpActionAdapter, String clients, String authorizers, String matchers, Boolean multiProfile, Object... parameters)
Perform the security logic.- Parameters:
context
- the web contextconfig
- the configurationsecurityGrantedAccessAdapter
- the success adapterhttpActionAdapter
- the HTTP action adapterclients
- the defined clientsauthorizers
- the defined authorizersmatchers
- the defined matchersmultiProfile
- whether multi profiles are supportedparameters
- additional parameters- Returns:
- the resulting action of the security
-
-