You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tim Taylor (JIRA)" <ji...@apache.org> on 2017/12/12 23:34:00 UTC

[jira] [Updated] (PROTON-1718) (Proton-J) Custom Sasl

     [ https://issues.apache.org/jira/browse/PROTON-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Taylor updated PROTON-1718:
-------------------------------
    Description: 
I would like to be able to provide a custom SASL implementation for Proton-j to use instead of being forced to use the default SaslImpl.java implementation.

Ideally, code like below would be possible

private class CustomSasl implements org.apache.qpid.proton.engine.Sasl
{
...
}
...
...
//transport.sasl(...) saves the provided sasl implementation and uses it internally
Sasl sasl = transport.sasl(new CustomSasl());

Do you currently have a workaround that would allow me to use Proton-J this way?

  was:
I would like to be able to provide a custom SASL implementation for Proton-j to use instead of being forced to use the default SaslImpl.java implementation.

Ideally, code like below would be possible

private class CustomSasl implements org.apache.qpid.proton.engine.Sasl
{
...
}
...
...
//transport.sasl(...) saves the provided sasl implementation and uses it instead of using the default SaslImpl implementation
Sasl sasl = transport.sasl(new CustomSasl());

Do you currently have a workaround that would allow me to use Proton-J this way?


> (Proton-J) Custom Sasl
> ----------------------
>
>                 Key: PROTON-1718
>                 URL: https://issues.apache.org/jira/browse/PROTON-1718
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>    Affects Versions: proton-j-0.24.0
>            Reporter: Tim Taylor
>              Labels: features
>
> I would like to be able to provide a custom SASL implementation for Proton-j to use instead of being forced to use the default SaslImpl.java implementation.
> Ideally, code like below would be possible
> private class CustomSasl implements org.apache.qpid.proton.engine.Sasl
> {
> ...
> }
> ...
> ...
> //transport.sasl(...) saves the provided sasl implementation and uses it internally
> Sasl sasl = transport.sasl(new CustomSasl());
> Do you currently have a workaround that would allow me to use Proton-J this way?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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