Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12108

Channel binding SASL mechanisms should be preferred by Elytron clients

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.ER3
    • 7.1.0.ER2
    • Security
    • None
    • Hide

      Allow SCRAM SASL mechanisms on server:

      <configurable-sasl-server-factory name="scram-facotry" sasl-server-factory="elytron">
          <filters>
              <filter pattern="SCRAM-*"/>
          </filters>
      </configurable-sasl-server-factory>
      

      Also configure the SSL for remoting connection, so the PLUS mechanisms are supported.

      Allow SCRAM on client

      AuthenticationConfiguration.empty()
          .setSaslMechanismSelector(SaslMechanismSelector.fromString("#FAMILY(SCRAM)"))
          .useName("user1").usePassword("password1");
      

      and also configure trustManager to the AuthenticationContext.

      As a result the SCRAM-SHA-* is selected by the client, instead of SCRAM-SHA-*-PLUS

      Show
      Allow SCRAM SASL mechanisms on server: <configurable-sasl-server-factory name= "scram-facotry" sasl-server-factory= "elytron" > <filters> <filter pattern= "SCRAM-*" /> </filters> </configurable-sasl-server-factory> Also configure the SSL for remoting connection, so the PLUS mechanisms are supported. Allow SCRAM on client AuthenticationConfiguration.empty() .setSaslMechanismSelector(SaslMechanismSelector.fromString( "#FAMILY(SCRAM)" )) .useName( "user1" ).usePassword( "password1" ); and also configure trustManager to the AuthenticationContext. As a result the SCRAM-SHA-* is selected by the client, instead of SCRAM-SHA-*-PLUS

      The *-PLUS SASL mechanisms (i.e. variants with channel binding) should be preferred by Elytron over the non-plus ones.

      The channel binding RFC-5056 in section 2.1 states:

            *  If the authentication protocol used by the application supports
               channel binding, the application SHOULD use it.
      

              fjuma1@redhat.com Farah Juma
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: