[jboss-jira] [JBoss JIRA] (ELY-580) Add the ability to filter out unavailable mechanisms using the MechanismConfigurationSelector once the host name and protocol name are known

Farah Juma (JIRA) issues at jboss.org
Wed Jul 6 11:50:01 EDT 2016


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

Farah Juma commented on ELY-580:
--------------------------------

Instead of the approach in the description, as mentioned in [PR #460|https://github.com/wildfly-security/wildfly-elytron/pull/460], we can select the {{MechanismConfiguration}} when setting the {{MechanismInformation}}. This allows {{createSaslServer}} to just return {{null}} if the {{MechanismConfiguration}} cannot be resolved. For the HTTP case, we can just return if the {{MechanismConfiguration}} cannot be resolved when evaluating an HTTP request.

> Add the ability to filter out unavailable mechanisms using the MechanismConfigurationSelector once the host name and protocol name are known
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ELY-580
>                 URL: https://issues.jboss.org/browse/ELY-580
>             Project: WildFly Elytron
>          Issue Type: Feature Request
>          Components: Authentication Mechanisms, HTTP
>            Reporter: Farah Juma
>            Assignee: Farah Juma
>
> We could modify the {{HttpServerAuthenticationMechanism}} mechanism supplier to take an {{HttpServerRequest}} parameter in order to filter out unavailable mechanisms. (For HTTP auth, the host name and protocol name are obtained using the {{HttpServerRequest}}).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list