DiffusionTM Server API 6.5.2
|Modifier and Type||Method and Description|
Authentication handlers, in order of decreasing precedence.
void setAuthenticationHandlers(List<? extends AuthenticationHandlerConfig> handlers) throws ConfigException
The authentication handlers are called to authenticate new connections and changes to the principal associated with a session. Authentication handlers are configured in precedence order. Authentication succeeds if a handler returns "allow" and all higher precedence handlers (earlier in the order) return "abstain". Authentication fails if a handler returns "deny" and all higher precedence handlers return "abstain". If all authentication handlers return "abstain", the request is denied. After the outcome is known, the server might choose not to call the remaining handlers.
Handlers are defined using implementations of the subtypes of
AuthenticationHandlerConfig. Any of the following may be used:-
handlers- definitions of each handler in precedence order
ConfigException- if unable to set the property
Copyright © 2020 Push Technology Ltd. All Rights Reserved.