Package org.restlet.security
Interface Verifier
-
- All Known Implementing Classes:
LocalVerifier,MapVerifier,SecretVerifier
public interface VerifierVerifies the credentials provided by a client user sending a request.- Author:
- Jerome Louvel
-
-
Field Summary
Fields Modifier and Type Field Description static intRESULT_INVALIDInvalid credentials provided.static intRESULT_MISSINGNo credentials provided.static intRESULT_STALEStale credentials provided.static intRESULT_UNKNOWNUnknown user.static intRESULT_UNSUPPORTEDUnsupported credentials.static intRESULT_VALIDValid credentials provided.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intverify(Request request, Response response)Attempts to verify the credentials provided by the client user sending the request.
-
-
-
Field Detail
-
RESULT_INVALID
static final int RESULT_INVALID
Invalid credentials provided.- See Also:
- Constant Field Values
-
RESULT_MISSING
static final int RESULT_MISSING
No credentials provided.- See Also:
- Constant Field Values
-
RESULT_STALE
static final int RESULT_STALE
Stale credentials provided.- See Also:
- Constant Field Values
-
RESULT_UNSUPPORTED
static final int RESULT_UNSUPPORTED
Unsupported credentials.- See Also:
- Constant Field Values
-
RESULT_UNKNOWN
static final int RESULT_UNKNOWN
Unknown user.- See Also:
- Constant Field Values
-
RESULT_VALID
static final int RESULT_VALID
Valid credentials provided.- See Also:
- Constant Field Values
-
-