Uses of Class
net.oauth.OAuthException
-
Packages that use OAuthException Package Description net.oauth net.oauth.signature -
-
Uses of OAuthException in net.oauth
Subclasses of OAuthException in net.oauth Modifier and Type Class Description class
OAuthProblemException
An OAuth-related problem, described using a set of named parameters.Methods in net.oauth that throw OAuthException Modifier and Type Method Description void
OAuthMessage. addRequiredParameters(OAuthAccessor accessor)
Add some of the parameters needed to request access to a protected resource, if they aren't already in the message.protected void
SimpleOAuthValidator. checkSingleParameters(OAuthMessage message)
OAuthMessage
OAuthAccessor. newRequestMessage(String method, String url, Collection<? extends Map.Entry<String,String>> parameters)
OAuthMessage
OAuthAccessor. newRequestMessage(String method, String url, Collection<? extends Map.Entry<String,String>> parameters, InputStream body)
Construct a request message containing the given parameters but no body.void
OAuthMessage. sign(OAuthAccessor accessor)
Add a signature to the message.void
OAuthValidator. validateMessage(OAuthMessage message, OAuthAccessor accessor)
Check that the given message from the given accessor is valid.void
SimpleOAuthValidator. validateMessage(OAuthMessage message, OAuthAccessor accessor)
protected void
SimpleOAuthValidator. validateSignature(OAuthMessage message, OAuthAccessor accessor)
protected void
SimpleOAuthValidator. validateVersion(OAuthMessage message)
-
Uses of OAuthException in net.oauth.signature
Methods in net.oauth.signature that throw OAuthException Modifier and Type Method Description protected abstract String
OAuthSignatureMethod. getSignature(String baseString)
Compute the signature for the given base string.protected String
OAuthSignatureMethod. getSignature(OAuthMessage message)
protected String
RSA_SHA1. getSignature(String baseString)
protected void
OAuthSignatureMethod. initialize(String name, OAuthAccessor accessor)
protected void
RSA_SHA1. initialize(String name, OAuthAccessor accessor)
protected abstract boolean
OAuthSignatureMethod. isValid(String signature, String baseString)
Decide whether the signature is valid.protected boolean
RSA_SHA1. isValid(String signature, String baseString)
static OAuthSignatureMethod
OAuthSignatureMethod. newMethod(String name, OAuthAccessor accessor)
The factory for signature methods.static OAuthSignatureMethod
OAuthSignatureMethod. newSigner(OAuthMessage message, OAuthAccessor accessor)
void
OAuthSignatureMethod. sign(OAuthMessage message)
Add a signature to the message.void
OAuthSignatureMethod. validate(OAuthMessage message)
Check whether the message has a valid signature.
-