Skip navigation links
A B C D E G H I N O P R S T U V W 

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 - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the callback URL.
callback(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting 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.

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.

N

NAME - Static variable in class org.glassfish.jersey.oauth1.signature.HmaSha1Method
 
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 - Static variable in class org.glassfish.jersey.oauth1.signature.PlaintextMethod
Method name.
name() - Method in class org.glassfish.jersey.oauth1.signature.PlaintextMethod
 
NAME - Static variable in class org.glassfish.jersey.oauth1.signature.RsaSha1Method
 
name() - Method 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.
NONCE - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the nonce.
nonce(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting nonce.
nonce() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting nonce to a randomly-generated UUID.

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(ServiceLocator) - 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.

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 - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the protection realm.
realm(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting 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(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the nonce, a value that should be unique for a given timestamp.
setNonce() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the nonce to contain a randomly-generated UUID.
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(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the timestamp.
setTimestamp() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the timestamp to the current time as number of seconds since epoch.
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(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the protocol version.
setVersion() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Sets the protocol version to the default value of 1.0.
sign(String, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.HmaSha1Method
Generates the HMAC-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.
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.
SIGNATURE - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the signature.
signature(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting 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 - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the timestamp.
timestamp(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting timestamp.
timestamp() - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting timestamp to the current time.
TOKEN - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the access/request token.
token(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting 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 - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the verifier code.
verifier(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting 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(OAuth1Request, OAuth1Parameters, OAuth1Secrets) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Signature
Verifies the OAuth signature for a given request, parameters and secrets.
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.
VERSION - Static variable in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Name of parameter containing the protocol version.
version(String) - Method in class org.glassfish.jersey.oauth1.signature.OAuth1Parameters
Builder pattern method to return OAuth1Parameters after setting version.
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.

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 N O P R S T U V W 
Skip navigation links

Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.