Package org.apereo.cas.authentication
Interface AuthenticationHandlerResolver
- All Superinterfaces:
org.springframework.core.Ordered
public interface AuthenticationHandlerResolver
extends org.springframework.core.Ordered
This is
AuthenticationHandlerResolver
which decides which set of
authentication handlers shall be chosen for a given authN event.- Since:
- 5.0.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getOrder()
noOp()
NoOp authentication handler resolver.default Set
<AuthenticationHandler> resolve
(Set<AuthenticationHandler> candidateHandlers, AuthenticationTransaction transaction) Resolve set of authentication handlers.default boolean
supports
(Set<AuthenticationHandler> handlers, AuthenticationTransaction transaction) Supports this transaction?
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGERLogger instance.
-
-
Method Details
-
noOp
NoOp authentication handler resolver.- Returns:
- the authentication handler resolver
-
resolve
default Set<AuthenticationHandler> resolve(Set<AuthenticationHandler> candidateHandlers, AuthenticationTransaction transaction) throws Throwable Resolve set of authentication handlers.- Parameters:
candidateHandlers
- the candidate handlerstransaction
- the transaction- Returns:
- the set
- Throws:
Throwable
- the throwable
-
getOrder
default int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
supports
default boolean supports(Set<AuthenticationHandler> handlers, AuthenticationTransaction transaction) throws Throwable Supports this transaction?- Parameters:
handlers
- the handlerstransaction
- the transaction- Returns:
- true /false
- Throws:
Throwable
- the throwable
-