qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5922) [Java Broker] By default restrict the use of PLAIN authentication to secure channels
Date Thu, 24 Jul 2014 11:24:45 GMT

    [ https://issues.apache.org/jira/browse/QPID-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073104#comment-14073104

Rob Godfrey commented on QPID-5922:

Add the following attribute definition to AuthenticationProvider:

@ManagedAttribute( defaultValue = "[ \"PLAIN\" ]")
    List<String> getSecureOnlyMechanisms();

And then ensure that all mechanisms in this list are excluded from the offered mechanisms
when authentication is attempted.

Ensure that attempts to use mechanisms other than those offered always results in an error.

Remove the AMQPLAIN mechanism (which simply duplicates the effective functionality of PLAIN
for historical reasons)

Add PLAIN as a mechanism to SCRAM-* and MD5 hashes authentication providers to allow clients
who do not implement the more complex Sasl mechanisms to authenticate if they can establish
a secure channel.

> [Java Broker] By default restrict the use of PLAIN authentication to secure channels
> ------------------------------------------------------------------------------------
>                 Key: QPID-5922
>                 URL: https://issues.apache.org/jira/browse/QPID-5922
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: 0.29
> PLAIN authentication sends passwords in the clear - in general this should not be used
over communication channels which are not themselves encrypted.
> For any given authentication provider we should allow the user to set the subset of SASL
mechanisms which should not be offered if the attempt to authenticate is not occurring on
a secure channel.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message