[jboss-jira] [JBoss JIRA] (ELY-1380) Calling getNegotiatedProperty for Elytron SASL mechanisms doesn't throw IllegalStateException when negotiatition is not completed

Jan Kalina (JIRA) issues at jboss.org
Wed Oct 4 09:44:02 EDT 2017


     [ https://issues.jboss.org/browse/ELY-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Kalina moved JBEAP-13360 to ELY-1380:
-----------------------------------------

              Project: WildFly Elytron  (was: JBoss Enterprise Application Platform)
                  Key: ELY-1380  (was: JBEAP-13360)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: SASL
                           (was: Security)
    Affects Version/s: 1.2.0.Beta4
                           (was: 7.1.0.CR2)


> Calling getNegotiatedProperty for Elytron SASL mechanisms doesn't throw IllegalStateException when negotiatition is not completed
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ELY-1380
>                 URL: https://issues.jboss.org/browse/ELY-1380
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: SASL
>    Affects Versions: 1.2.0.Beta4
>            Reporter: Jan Kalina
>            Assignee: Jan Kalina
>            Priority: Critical
>
> The Elytron SASL mechanism implementations don't throw {{IllegalStateException}}  when calling the {{getNegotiatedProperty()}} method before the negotiation is finished.
> The contract of the {{Object javax.security.sasl.SaslClient.getNegotiatedProperty(String propName)}} says:
> bq. Retrieves the negotiated property. This method can be called only after the authentication exchange has completed (i.e., when isComplete() returns true); otherwise, an IllegalStateException is thrown.
> The same is valid for the {{SaslServer}} interface.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list