Package org.apereo.cas.authentication
Interface AuthenticationHandlerResolver
-
- All Superinterfaces:
org.springframework.core.Ordered
public interface AuthenticationHandlerResolver extends org.springframework.core.OrderedThis isAuthenticationHandlerResolverwhich decides which set of authentication handlers shall be chosen for a given authN event.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOGGER
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default intgetOrder()default java.util.Set<AuthenticationHandler>resolve(java.util.Set<AuthenticationHandler> candidateHandlers, AuthenticationTransaction transaction)Resolve set of authentication handlers.default booleansupports(java.util.Set<AuthenticationHandler> handlers, AuthenticationTransaction transaction)Supports this transaction?
-
-
-
Method Detail
-
resolve
default java.util.Set<AuthenticationHandler> resolve(java.util.Set<AuthenticationHandler> candidateHandlers, AuthenticationTransaction transaction)
Resolve set of authentication handlers.- Parameters:
candidateHandlers- the candidate handlerstransaction- the transaction- Returns:
- the set
-
getOrder
default int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
supports
default boolean supports(java.util.Set<AuthenticationHandler> handlers, AuthenticationTransaction transaction)
Supports this transaction?- Parameters:
handlers- the handlerstransaction- the transaction- Returns:
- the boolean
-
-