You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jeffrey Samarziya (JIRA)" <ji...@apache.org> on 2015/04/09 02:03:12 UTC

[jira] [Created] (CXF-6338) Reversed logic in AbstractJwtHandler#validateSignature

Jeffrey Samarziya created CXF-6338:
--------------------------------------

             Summary: Reversed logic in AbstractJwtHandler#validateSignature
                 Key: CXF-6338
                 URL: https://issues.apache.org/jira/browse/CXF-6338
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS Security
    Affects Versions: 3.0.4
            Reporter: Jeffrey Samarziya
            Priority: Minor


The logic in the {{validateSignature}} method in {{org.apache.cxf.rs.security.oauth2.grants.jwt.AbstractJwtHandler}} is reversed - the method throws an OAuthServiceException when the signature is valid and doesn't throw an exception when the signature is not valid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)