A B C D E G H I L N O P R S T U V W 
All Classes All Packages

A

addHeaderValue(String, String) - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1Request
Adds a header with the given name and value.
AUTHORIZATION_HEADER - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of HTTP authorization header.

B

Base64 - Class in org.glassfish.jersey.oauth1.signature
Base64 encoding util class.
Base64() - Constructor for class org.glassfish.jersey.oauth1.signature.Base64
 

C

callback(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting callback URL.
CALLBACK - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the callback URL.
CALLBACK_CONFIRMED - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the token secret.
clone() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
 
clone() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
 
configure(FeatureContext) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1SignatureFeature
 
CONSUMER_KEY - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the consumer key.
consumerKey(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting consumer key.
consumerSecret(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Builder pattern method to return OAuth1Secrets after setting consumer secret.

D

decode(String) - Static method in class org.glassfish.jersey.oauth1.signature.Base64
Converts a Base64 encoded string to a byte array.
decode(String, int, int) - Static method in class org.glassfish.jersey.oauth1.signature.Base64
Converts an embedded Base64 encoded string to a byte array.

E

encode(byte[]) - Static method in class org.glassfish.jersey.oauth1.signature.Base64
Converts a byte array into a Base64 encoded string.
encode(byte[], int, int) - Static method in class org.glassfish.jersey.oauth1.signature.Base64
Converts a byte array into a Base64 encoded string.
ERROR_BASE_64_INVALID_CHARACTER() - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
Invalid character in Base64 string.
ERROR_BASE_64_LENGTH() - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
Base64 string length is not multiple of 4.
ERROR_CANNOT_OBTAIN_PUBLIC_KEY() - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
Couldn''t obtain public key from consumer secret.
ERROR_INVALID_CONSUMER_SECRET(Object) - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
Invalid consumer secret: {0}

G

generate(OAuth1Request, OAuth1Parameters, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Signature
Generates and returns an OAuth signature for the given request, parameters and secrets.
getCallback() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the callback URL.
getConsumerKey() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the consumer key.
getConsumerSecret() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Returns the consumer secret.
getHeaderValues(String) - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1Request
Returns the value(s) of the specified request header.
getNonce() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the nonce, a value that should be unique for a given timestamp.
getParameterNames() - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1Request
Returns an Set of String objects containing the names of the parameters contained in the request.
getParameterValues(String) - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1Request
Returns an List of String objects containing the values of the specified request parameter, or null if the parameter does not exist.
getRealm() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the protection realm for the request.
getRequestMethod() - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1Request
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getRequestURL() - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1Request
Returns the URL of the request, including protocol, server name, optional port number, and server path.
getSignature() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the signature for the request.
getSignatureMethod() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the signature method used to sign the request.
getTimestamp() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the timestamp, a value expected to be a positive integer, typically containing the number of seconds since January 1, 1970 00:00:00 GMT (epoch).
getToken() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the request or access token.
getTokenSecret() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Returns request or access token.
getVerifier() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the verifier code.
getVersion() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Returns the protocol version.

H

HmaSha1Method - Class in org.glassfish.jersey.oauth1.signature
An OAuth signature method that implements HMAC-SHA1.
HmaSha1Method() - Constructor for class org.glassfish.jersey.oauth1.signature.HmaSha1Method
 

I

InvalidSecretException - Exception in org.glassfish.jersey.oauth1.signature
Thrown to indicate that the OAuth secret supplied is invalid or otherwise unsupported.
InvalidSecretException() - Constructor for exception org.glassfish.jersey.oauth1.signature.InvalidSecretException
Constructs an invalid OAuth secret exception with no detail message.
InvalidSecretException(String) - Constructor for exception org.glassfish.jersey.oauth1.signature.InvalidSecretException
Constructs an invalid OAuth secret exception with the specified detail message.

L

localizableERROR_BASE_64_INVALID_CHARACTER() - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
 
localizableERROR_BASE_64_LENGTH() - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
 
localizableERROR_CANNOT_OBTAIN_PUBLIC_KEY() - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
 
localizableERROR_INVALID_CONSUMER_SECRET(Object) - Static method in class org.glassfish.jersey.oauth1.signature.internal.LocalizationMessages
 
LocalizationMessages - Class in org.glassfish.jersey.oauth1.signature.internal
Defines string formatting method for each constant in the resource file

N

name() - Method in class org.glassfish.jersey.oauth1.signature.HmaSha1Method
 
name() - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1SignatureMethod
Returns the name of this signature method, as negotiated through the OAuth protocol.
name() - Method in class org.glassfish.jersey.oauth1.signature.PlaintextMethod
 
name() - Method in class org.glassfish.jersey.oauth1.signature.RsaSha1Method
 
NAME - Static variable in class org.glassfish.jersey.oauth1.signature.HmaSha1Method
 
NAME - Static variable in class org.glassfish.jersey.oauth1.signature.PlaintextMethod
Method name.
NAME - Static variable in class org.glassfish.jersey.oauth1.signature.RsaSha1Method
 
NO_CALLBACK_URI_VALUE - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Default value of the callback URI that should be used during Authorization flow for Request Token request when the client is not capable of handling redirects (e.g. the client is a mobile application).
nonce() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting nonce to a randomly-generated UUID.
nonce(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting nonce.
NONCE - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the nonce.

O

OAuth1Parameters - Class in org.glassfish.jersey.oauth1.signature
A data structure class that represents OAuth protocol parameters.
OAuth1Parameters() - Constructor for class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
 
OAuth1Request - Interface in org.glassfish.jersey.oauth1.signature
Interface to be implemented as a wrapper around an HTTP request, so that digital signature can be generated and/or verified.
OAuth1Secrets - Class in org.glassfish.jersey.oauth1.signature
Contains the secrets used to generate and/or verify signatures.
OAuth1Secrets() - Constructor for class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
 
OAuth1Signature - Class in org.glassfish.jersey.oauth1.signature
Injectable class used for processing an OAuth signature (signing or verifying).
OAuth1Signature(InjectionManager) - Constructor for class org.glassfish.jersey.oauth1.signature.OAuth1Signature
Create a new instance of the OAuth signature configured with injected ServiceLocator.
OAuth1SignatureException - Exception in org.glassfish.jersey.oauth1.signature
Thrown to indicate that an OAuth exception occurred.
OAuth1SignatureException() - Constructor for exception org.glassfish.jersey.oauth1.signature.OAuth1SignatureException
Constructs an OAuth signature exception with no detail message.
OAuth1SignatureException(String) - Constructor for exception org.glassfish.jersey.oauth1.signature.OAuth1SignatureException
Constructs an OAuth signature exception with the specified detail message.
OAuth1SignatureException(Throwable) - Constructor for exception org.glassfish.jersey.oauth1.signature.OAuth1SignatureException
Constructs an OAuth signature exception with the specified cause.
OAuth1SignatureFeature - Class in org.glassfish.jersey.oauth1.signature
Feature enabling OAuth signature support.
OAuth1SignatureFeature() - Constructor for class org.glassfish.jersey.oauth1.signature.OAuth1SignatureFeature
 
OAuth1SignatureMethod - Interface in org.glassfish.jersey.oauth1.signature
An interface representing the OAuth signature method.
org.glassfish.jersey.oauth1.signature - package org.glassfish.jersey.oauth1.signature
Jersey OAuth 1 Signature API and Implementation.
org.glassfish.jersey.oauth1.signature.internal - package org.glassfish.jersey.oauth1.signature.internal
 

P

PlaintextMethod - Class in org.glassfish.jersey.oauth1.signature
An OAuth signature method that implements Plaintext.
PlaintextMethod() - Constructor for class org.glassfish.jersey.oauth1.signature.PlaintextMethod
 
put(String, String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
 

R

readRequest(OAuth1Request) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Reads a request for OAuth parameters, and populates this object.
realm(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting protection realm.
REALM - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the protection realm.
RsaSha1Method - Class in org.glassfish.jersey.oauth1.signature
An OAuth signature method that implements RSA-SHA1.
RsaSha1Method() - Constructor for class org.glassfish.jersey.oauth1.signature.RsaSha1Method
 

S

SCHEME - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
OAuth scheme in Authorization header.
setCallback(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the callback URL.
setConsumerKey(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the consumer key.
setConsumerSecret(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
 
setNonce() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the nonce to contain a randomly-generated UUID.
setNonce(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the nonce, a value that should be unique for a given timestamp.
setRealm(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the protection realm for the request.
setSignature(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the signature for the request.
setSignatureMethod(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the signature method used to sign the request.
setTimestamp() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the timestamp to the current time as number of seconds since epoch.
setTimestamp(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the timestamp.
setToken(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the request or access token.
setTokenSecret(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Sets request or access token.
setVerifier(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the verifier code.
setVersion() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the protocol version to the default value of 1.0.
setVersion(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the protocol version.
sign(String, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.HmaSha1Method
Generates the HMAC-SHA1 signature of OAuth request elements.
sign(String, OAuth1Secrets) - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1SignatureMethod
Signs the data using the supplied secret(s).
sign(String, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.PlaintextMethod
Generates the PLAINTEXT signature.
sign(String, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.RsaSha1Method
Generates the RSA-SHA1 signature of OAuth request elements.
sign(OAuth1Request, OAuth1Parameters, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Signature
Generates an OAuth signature for the given request, parameters and secrets, and stores it as a signature parameter, and writes the OAuth parameters to the request as an Authorization header.
signature(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting signature.
SIGNATURE - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the signature.
SIGNATURE_METHOD - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the signature method.
signatureMethod(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting signature method.

T

timestamp() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting timestamp to the current time.
timestamp(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting timestamp.
TIMESTAMP - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the timestamp.
token(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting token.
TOKEN - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the access/request token.
TOKEN_SECRET - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the token secret.
tokenSecret(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Secrets
Builder pattern method to return OAuth1Secrets after setting consumer secret.

U

UnsupportedSignatureMethodException - Exception in org.glassfish.jersey.oauth1.signature
Thrown to indicate that the OAuth signature method requested is not supported.
UnsupportedSignatureMethodException() - Constructor for exception org.glassfish.jersey.oauth1.signature.UnsupportedSignatureMethodException
Constructs an unsupported OAuth method exception with no detail message.
UnsupportedSignatureMethodException(String) - Constructor for exception org.glassfish.jersey.oauth1.signature.UnsupportedSignatureMethodException
Constructs an unsupported OAuth method exception with the specified detail message.

V

verifier(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting verifier code.
VERIFIER - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the verifier code.
verify(String, OAuth1Secrets, String) - Method in class org.glassfish.jersey.oauth1.signature.HmaSha1Method
Verifies the HMAC-SHA1 signature of OAuth request elements.
verify(String, OAuth1Secrets, String) - Method in interface org.glassfish.jersey.oauth1.signature.OAuth1SignatureMethod
Verifies the signature for the data using the supplied secret(s).
verify(String, OAuth1Secrets, String) - Method in class org.glassfish.jersey.oauth1.signature.PlaintextMethod
Verifies the Plaintext signature.
verify(String, OAuth1Secrets, String) - Method in class org.glassfish.jersey.oauth1.signature.RsaSha1Method
Verifies the RSA-SHA1 signature of OAuth request elements.
verify(OAuth1Request, OAuth1Parameters, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Signature
Verifies the OAuth signature for a given request, parameters and secrets.
version() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting version to the default value of 1.0.
version(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting version.
VERSION - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the protocol version.

W

writeRequest(OAuth1Request) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Writes the OAuth parameters to a request, as an Authorization header.
A B C D E G H I L N O P R S T U V W 
All Classes All Packages