Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1815

Unable to set custom AUTHENTICATION_TIMEOUT value


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0.CR1
    • None
    • SASL
    • None

      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.

            lvydra Lukas Vydra
            aabdelsa Ashley Abdel-Sayed (Inactive)
            0 Vote for this issue
            2 Start watching this issue