Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
G
H
M
N
O
R
S
V
C
checkSingleParameters(OAuthMessage)
- Method in class net.oauth.
SimpleOAuthValidator
Throw an exception if any SINGLE_PARAMETERS occur repeatedly.
currentTimeMsec()
- Method in class net.oauth.
SimpleOAuthValidator
Get the number of milliseconds since midnight, January 1, 1970 UTC.
D
DEFAULT_MAX_TIMESTAMP_AGE
- Static variable in class net.oauth.
SimpleOAuthValidator
The default maximum age of timestamps is 5 minutes.
DEFAULT_TIMESTAMP_WINDOW
- Static variable in class net.oauth.
SimpleOAuthValidator
G
getBodyAsStream()
- Method in class net.oauth.server.
HttpRequestMessage
getBodyEncoding()
- Method in class net.oauth.server.
HttpRequestMessage
getMessage(HttpServletRequest, String)
- Static method in class net.oauth.server.
OAuthServlet
Extract the parts of the given request that are relevant to OAuth.
getParameters(HttpServletRequest)
- Static method in class net.oauth.server.
HttpRequestMessage
getRequestURL(HttpServletRequest)
- Static method in class net.oauth.server.
OAuthServlet
Reconstruct the requested URL, complete with query string (if any).
H
handleException(HttpServletResponse, Exception, String)
- Static method in class net.oauth.server.
OAuthServlet
handleException(HttpServletResponse, Exception, String, boolean)
- Static method in class net.oauth.server.
OAuthServlet
htmlEncode(String)
- Static method in class net.oauth.server.
OAuthServlet
Return the HTML representation of the given plain text.
HttpRequestMessage
- Class in
net.oauth.server
An HttpServletRequest, encapsulated as an OAuthMessage.
HttpRequestMessage(HttpServletRequest, String)
- Constructor for class net.oauth.server.
HttpRequestMessage
M
maxTimestampAgeMsec
- Variable in class net.oauth.
SimpleOAuthValidator
maxVersion
- Variable in class net.oauth.
SimpleOAuthValidator
minVersion
- Variable in class net.oauth.
SimpleOAuthValidator
N
net.oauth
- package net.oauth
net.oauth.server
- package net.oauth.server
Classes for implementing an OAuth Service Provider; that is a server that controls access to protected resources.
O
OAuthServlet
- Class in
net.oauth.server
Utility methods for servlets that implement OAuth.
OAuthServlet()
- Constructor for class net.oauth.server.
OAuthServlet
OAuthValidator
- Interface in
net.oauth
An algorithm to determine whether a message has a valid signature, a correct version number, a fresh timestamp, etc.
R
releaseGarbage()
- Method in class net.oauth.
SimpleOAuthValidator
Allow objects that are no longer useful to become garbage.
S
sendForm(HttpServletResponse, Iterable<? extends Map.Entry>)
- Static method in class net.oauth.server.
OAuthServlet
Send the given parameters as a form-encoded response body.
SimpleOAuthValidator
- Class in
net.oauth
A simple OAuthValidator, which checks the version, whether the timestamp is close to now, the nonce hasn't been used before and the signature is valid.
SimpleOAuthValidator()
- Constructor for class net.oauth.
SimpleOAuthValidator
Construct a validator that rejects messages more than five minutes old or with a OAuth version other than 1.0.
SimpleOAuthValidator(long, double)
- Constructor for class net.oauth.
SimpleOAuthValidator
Public constructor.
SINGLE_PARAMETERS
- Static variable in class net.oauth.
SimpleOAuthValidator
Names of parameters that may not appear twice in a valid message.
V
validateMessage(OAuthMessage, OAuthAccessor)
- Method in interface net.oauth.
OAuthValidator
Check that the given message from the given accessor is valid.
validateMessage(OAuthMessage, OAuthAccessor)
- Method in class net.oauth.
SimpleOAuthValidator
validateNonce(OAuthMessage, long, long)
- Method in class net.oauth.
SimpleOAuthValidator
Throw an exception if the nonce has been validated previously.
validateSignature(OAuthMessage, OAuthAccessor)
- Method in class net.oauth.
SimpleOAuthValidator
validateTimestamp(OAuthMessage, long, long)
- Method in class net.oauth.
SimpleOAuthValidator
Throw an exception if the timestamp [sec] is out of range.
validateTimestampAndNonce(OAuthMessage)
- Method in class net.oauth.
SimpleOAuthValidator
Throw an exception if the timestamp is out of range or the nonce has been validated previously.
validateVersion(OAuthMessage)
- Method in class net.oauth.
SimpleOAuthValidator
C
D
G
H
M
N
O
R
S
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes