public interface Signer
Modifier and Type | Interface and Description |
---|---|
static class |
Signer.Basic
An implementation of the Basic Access Authentication.
|
Modifier and Type | Method and Description |
---|---|
void |
checkToken(Token token)
Checks if the token is appropriate for this signer.
|
java.lang.String |
getSign(Request request,
Token token)
Signs a request
|
void checkToken(Token token) throws java.lang.IllegalArgumentException
token
- a token to checkjava.lang.IllegalArgumentException
- is thrown if token is inappropriate (wrong object type, has wrong data, etc.)Copyright © 2013, 2014, Oracle and/or its affiliates. All rights reserved.