|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Verifier
Limited interface allowing for server-side use of guards and remote service calls
| Method Summary | |
|---|---|
long |
getSkew()
|
Key |
selectKey(Authorization authorization)
Selects an appropriate Key from the Keychain matching the keyId specified in the
Authorization. |
boolean |
verify(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Verifies the provided Authorization header against the original Challenge |
VerifyResult |
verifyWithResult(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Verifies the provided Authorization header against the original Challenge |
| Method Detail |
|---|
long getSkew()
Key selectKey(Authorization authorization)
Key from the Keychain matching the keyId specified in the
Authorization. This method is called by
verifyWithResult(Challenge, RequestContent, Authorization), but can be called by client code to
retrieve the identified Key directly
authorization - the Authorization header
Key or null
boolean verify(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Authorization header against the original Challenge
challenge - the WWW-Authenticate challenge sent to the client in the previous responserequestContent - the RequestContent containing the request header contentauthorization - the Authorization header to verify
VerifyResult.SUCCESS), false otherwise
VerifyResult verifyWithResult(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Authorization header against the original Challenge
challenge - the WWW-Authenticate challenge sent to the client in the previous responserequestContent - the RequestContent containing the request header contentauthorization - the Authorization header to verify
VerifyResult
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||