Christian Schneider created CXF-5950:
----------------------------------------

             Summary: NamepasswordCallbackHandler should ignore unkown Callbacks
                 Key: CXF-5950
                 URL: https://issues.apache.org/jira/browse/CXF-5950
             Project: CXF
          Issue Type: Improvement
            Reporter: Christian Schneider
             Fix For: 3.1.0


Currently the NamepasswordCallbackHandler throws an exception if it gets an 
unsupported callback. I think this is a bit harsh. 

It should be perfectly valid that a LoginModule provides more callbacks than it 
actually needs. So I think the better behaviour would be to ignore the unknown 
Callback and log the possible problem on debug level. 

So people can see that there is an unkown callback if they really want to.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to