[jboss-jira] [JBoss JIRA] (ELY-124) Java 8+ supports unbound SASL servers; GSSAPI and DIGEST-MD5 both use this value

Martin Choma (JIRA) issues at jboss.org
Wed Oct 25 07:38:01 EDT 2017


    [ https://issues.jboss.org/browse/ELY-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481640#comment-13481640 ] 

Martin Choma edited comment on ELY-124 at 10/25/17 7:38 AM:
------------------------------------------------------------

How exactly is this achieved?
??After a context is established, the server can retrieve the name as a negotiated property with the key name SASL.BOUND_SERVER_NAME??

Negotiated property mean it is negotiated between client and server? Who provide value of this property? Client?

Also this does not address possibility to specify "*" as principal - described in subtask http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8001104 , right?


was (Author: mchoma):
How exactly is this achieved?
??After a context is established, the server can retrieve the name as a negotiated property with the key name SASL.BOUND_SERVER_NAME??

Negotiated property mean it is negotiated between client and server? Who provide value of this property? Client?

Also this does not address possibility to specify "*" as principal - described in subtask http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8001104

> Java 8+ supports unbound SASL servers; GSSAPI and DIGEST-MD5 both use this value
> --------------------------------------------------------------------------------
>
>                 Key: ELY-124
>                 URL: https://issues.jboss.org/browse/ELY-124
>             Project: WildFly Elytron
>          Issue Type: Task
>          Components: SASL
>            Reporter: David Lloyd
>            Assignee: Jan Kalina
>             Fix For: 1.2.0.Beta10
>
>
> Since Java 8, the SaslServerFactory interface has been changed so that the serverName may be null.  If null, the server name is considered "unbound" and the client can select what server name it wants to use.
> The release notes say:
> {quote}
> SASL service for multiple host names: When creating a SASL server, the server name can be set to null to denote an unbound server, which means a client can request for the service using any server name. After a context is established, the server can retrieve the name as a negotiated property with the key name SASL.BOUND_SERVER_NAME. See RFE 7110803.
> {quote}
> The updated JavaDoc says:
> {quote}
> serverName - The fully qualified host name of the server to authenticate to, or null if the server is not bound to any specific host name. If the mechanism does not allow an unbound server, a SaslException will be thrown.
> {quote}
> The RFE link is: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7110803
> The two SASL mechanisms in Elytron that would be impacted by this are DIGEST-MD5 and GSSAPI.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list