Ashley Abdel-Sayed created ELY-1815:
---------------------------------------
Summary: Unable to set custom AUTHENTICATION_TIMEOUT value
Key: ELY-1815
URL:
https://issues.jboss.org/browse/ELY-1815
Project: WildFly Elytron
Issue Type: Bug
Components: SASL
Reporter: Ashley Abdel-Sayed
The {{AuthenticationTimeoutSaslServerFactory}} must be outside of the
{{AuthenticationCompleteCallbackSaslServerFactory}} and the
{{AuthenticationCompleteCallbackSaslServerFactory}} must be outside of all the other Sasl
Server Factories. For the case where the {{SaslAuthenticationFactory.Builder}} is being
used to set the factory and the factory delegates to a {{PropertiesSaslServerFactory}}
with the {{AUTHENTICATION_TIMEOUT}} property set to a custom value, this custom value is
currently being ignored. The {{AUTHENTICATION_TIMEOUT}} property is checked in
{{AuthenticationTimeoutSaslServerFactory#createSaslServer}} and set to the default if no
property has been set. Thus, the {{AUTHENTICATION_TIMEOUT}} property is set to the
default before the {{PropertiesSaslServerFactory}} sets the properties and users cannot
set a custom {{AUTHENTICATION_TIMEOUT}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)