A C D F G I N O P R

A

AccessTokenRequest - Class in com.sun.jersey.oauth.server.api.resources
Resource handling access token requests.
AccessTokenRequest() - Constructor for class com.sun.jersey.oauth.server.api.resources.AccessTokenRequest
 
authorize(Principal, Set<String>) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
Authorizes this token - i.e.
authorizeToken(DefaultOAuthProvider.Token, Principal, Set<String>) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
Authorizes a request token for given principal and roles and returns verifier.

C

com.sun.jersey.oauth.server.api - package com.sun.jersey.oauth.server.api
 
com.sun.jersey.oauth.server.api.providers - package com.sun.jersey.oauth.server.api.providers
 
com.sun.jersey.oauth.server.api.resources - package com.sun.jersey.oauth.server.api.resources
 
com.sun.jersey.oauth.server.spi - package com.sun.jersey.oauth.server.spi
 

D

DefaultOAuthProvider - Class in com.sun.jersey.oauth.server.api.providers
Default in-memory implementation of OAuthProvider.
DefaultOAuthProvider() - Constructor for class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
DefaultOAuthProvider.Consumer - Class in com.sun.jersey.oauth.server.api.providers
Simple read-only implementation of OAuthConsumer.
DefaultOAuthProvider.Token - Class in com.sun.jersey.oauth.server.api.providers
Simple immutable implementation of OAuthToken.
DefaultOAuthProvider.Token(String, String, String, String, Principal, Set<String>, MultivaluedMap<String, String>) - Constructor for class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
DefaultOAuthProvider.Token(String, String, String, String, Map<String, List<String>>) - Constructor for class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
DefaultOAuthProvider.Token(String, String, DefaultOAuthProvider.Token) - Constructor for class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 

F

FEATURE_NO_FAIL - Static variable in class com.sun.jersey.oauth.server.api.OAuthServerFilter
If set to true makes the correct OAuth authentication optional - i.e.
filter(ContainerRequest) - Method in class com.sun.jersey.oauth.server.api.OAuthServerFilter
 

G

getAccessToken(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
getAccessToken(String) - Method in interface com.sun.jersey.oauth.server.spi.OAuthProvider
Returns the access token by the consumer key and token value.
getAccessTokens(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
Returns a list of access tokens authorized with the supplied principal name.
getAttributes() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Consumer
Returns additional attributes associated with the consumer (e.g.
getAttributes() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
getAttributes() - Method in interface com.sun.jersey.oauth.server.spi.OAuthToken
Returns additional custom attributes associated with the token.
getCallbackUrl() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
Returns callback URL for this token (applicable just to request tokens)
getConsumer(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
getConsumer() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
getConsumer(String) - Method in interface com.sun.jersey.oauth.server.spi.OAuthProvider
Gets consumer corresponding to a given consumer key.
getConsumer() - Method in interface com.sun.jersey.oauth.server.spi.OAuthToken
Returns consumer this token was issued for.
getConsumers(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
Returns a set of consumers registered by a given owner.
getKey() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Consumer
 
getKey() - Method in interface com.sun.jersey.oauth.server.spi.OAuthConsumer
Returns consumer key.
getOwner() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Consumer
Returns identifier of owner of this consumer - i.e.
getPrincipal() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Consumer
 
getPrincipal() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
getPrincipal() - Method in interface com.sun.jersey.oauth.server.spi.OAuthConsumer
Returns a Principal object representing this consumer.
getPrincipal() - Method in interface com.sun.jersey.oauth.server.spi.OAuthToken
Returns a Principal object containing the name of the user the request containing this token is authorized to act on behalf of.
getRequestToken(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
getRequestToken(String) - Method in interface com.sun.jersey.oauth.server.spi.OAuthProvider
Returns the request token by the consumer key and token value.
getSecret() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Consumer
 
getSecret() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
getSecret() - Method in interface com.sun.jersey.oauth.server.spi.OAuthConsumer
Returns consumer secret.
getSecret() - Method in interface com.sun.jersey.oauth.server.spi.OAuthToken
Returns the token secret.
getToken() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
getToken() - Method in interface com.sun.jersey.oauth.server.spi.OAuthToken
Returns string representing the token.

I

isInRole(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Consumer
 
isInRole(String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider.Token
 
isInRole(String) - Method in interface com.sun.jersey.oauth.server.spi.OAuthConsumer
Returns a boolean indicating whether this consumer is authorized for the specified logical "role".
isInRole(String) - Method in interface com.sun.jersey.oauth.server.spi.OAuthToken
Returns a boolean indicating whether this token is authorized for the specified logical "role".

N

newAccessToken(OAuthToken, String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
newAccessToken(OAuthToken, String) - Method in interface com.sun.jersey.oauth.server.spi.OAuthProvider
Creates a new access token.
newImmutableMultiMap(Map<String, List<String>>) - Static method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
newRequestToken(String, String, Map<String, List<String>>) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
 
newRequestToken(String, String, Map<String, List<String>>) - Method in interface com.sun.jersey.oauth.server.spi.OAuthProvider
Creates a new request token for a given consumerKey.
newUUIDString() - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
Generates a new non-guessable random string (used for token/customer strings, secrets and verifier.

O

OAuthConsumer - Interface in com.sun.jersey.oauth.server.spi
Class representing a registered consumer.
OAuthProvider - Interface in com.sun.jersey.oauth.server.spi
Contract for a provider that supports managing OAuth tokens and consumer secrets.
OAuthServerFilter - Class in com.sun.jersey.oauth.server.api
OAuth request filter that filters all requests indicating in the Authorization header they use OAuth.
OAuthServerFilter(ResourceConfig, OAuthProvider) - Constructor for class com.sun.jersey.oauth.server.api.OAuthServerFilter
 
OAuthToken - Interface in com.sun.jersey.oauth.server.spi
Interface representing an OAuth token (i.e.

P

postAccessTokenRequest(HttpContext, Request) - Method in class com.sun.jersey.oauth.server.api.resources.AccessTokenRequest
POST method for creating a request for Rquest Token
postReqTokenRequest() - Method in class com.sun.jersey.oauth.server.api.resources.RequestTokenRequest
POST method for creating a request for a Request Token
PROPERTY_GC_PERIOD - Static variable in class com.sun.jersey.oauth.server.api.OAuthServerFilter
Property that can be set to frequency of collecting nonces exceeding max.
PROPERTY_IGNORE_PATH_PATTERN - Static variable in class com.sun.jersey.oauth.server.api.OAuthServerFilter
Property that can be set to a regular expression used to match the path (relative to the base URI) this filter should not be applied to.
PROPERTY_MAX_AGE - Static variable in class com.sun.jersey.oauth.server.api.OAuthServerFilter
Can be set to max.
PROPERTY_REALM - Static variable in class com.sun.jersey.oauth.server.api.OAuthServerFilter
OAuth realm.

R

registerConsumer(String, MultivaluedMap<String, String>) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
Registers a new consumer.
RequestTokenRequest - Class in com.sun.jersey.oauth.server.api.resources
Resource handling request token requests.
RequestTokenRequest() - Constructor for class com.sun.jersey.oauth.server.api.resources.RequestTokenRequest
 
revokeAccessToken(String, String) - Method in class com.sun.jersey.oauth.server.api.providers.DefaultOAuthProvider
Checks if the supplied token is authorized for a given principal name and if so, revokes the authorization.

A C D F G I N O P R

Copyright © 2014 Oracle Corporation. All Rights Reserved.