-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAPI-CIBA: Allow ping not to be sent on auth_req_id expiry
As per WG discussion, ping is entirely optional in this case: https://bitbucket.org/openid/mobile/issues/202/error-in-fapi-ciba-certification-tests We now sleep till expiry, and for another 5 seconds (as if the server does send a ping we don't want to receive it after the test has finished), then call the token endpoint etc as before. closes #894
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/main/java/net/openid/conformance/condition/client/WaitFor5Seconds.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package net.openid.conformance.condition.client; | ||
|
||
import net.openid.conformance.condition.common.AbstractWaitForSpecifiedSeconds; | ||
import net.openid.conformance.testmodule.Environment; | ||
|
||
public class WaitFor5Seconds extends AbstractWaitForSpecifiedSeconds { | ||
|
||
@Override | ||
protected long getExpectedWaitSeconds(Environment env) { | ||
return 5; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters