tumstech / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

SampleServer doesn't support AuthFailure #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Send a checkid_setup request to SampleServer
2. In userInteraction, return false for the second value

What is the expected output? What do you see instead?

An unexpected ClassCastException is thrown.

What version of the product are you using? On what operating system?

I first saw this problem on 0.9.8 on Mac OS X, though I do not believe it to be 
operating system-specific.

Please provide any additional information below.

Patch attached with fix for problem and testcase that reproduces the issue.

Original issue reported on code.google.com by davidm...@gmail.com on 6 Mar 2014 at 3:05

Attachments: