You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Jeremy Krieg (JIRA)" <ji...@apache.org> on 2019/08/19 03:20:00 UTC

[jira] [Created] (WSS-653) Better diagnostics for null password

Jeremy Krieg created WSS-653:
--------------------------------

             Summary: Better diagnostics for null password
                 Key: WSS-653
                 URL: https://issues.apache.org/jira/browse/WSS-653
             Project: WSS4J
          Issue Type: Improvement
          Components: WSS4J Handlers
    Affects Versions: 2.2.4
            Reporter: Jeremy Krieg
            Assignee: Colm O hEigeartaigh


I wasted quite a bit of time over the last day or so debugging what turned out to be a trivial error.

A bug in my code meant that my password callback handler was not actually setting the password. ws-security-stax reported this fact to me with the error message "General security error", which wasn't particularly helpful. A little bit of extra information in this error message would have saved me an hour or so chasing red herrings - eg "no password provided"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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