Skip navigation links
A C D F G H I J L M N O P R S T U V W 

A

AbstractAdapterCredentialsFilter<Credentials,Connection> - Class in org.eclipse.lyo.server.oauth.core.utils
Overview
AbstractAdapterCredentialsFilter(String, String) - Constructor for class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Constructor
AbstractConsumerStore - Class in org.eclipse.lyo.server.oauth.core.consumer
Manages the list of OAuth consumers.
AbstractConsumerStore() - Constructor for class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
add(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
addAll(Collection<LyoOAuthConsumer>) - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
addConsumer(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
addConsumer(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
addConsumer(LyoOAuthConsumer) - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Adds a new consumer.
ADMIN_SESSION_ATTRIBUTE - Static variable in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
Application - Interface in org.eclipse.lyo.server.oauth.core
Handles authentication with the backend system.
asJson(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
 
AuthenticationException - Exception in org.eclipse.lyo.server.oauth.core
An exception indicating that authentication failed.
AuthenticationException() - Constructor for exception org.eclipse.lyo.server.oauth.core.AuthenticationException
 
AuthenticationException(String, Throwable) - Constructor for exception org.eclipse.lyo.server.oauth.core.AuthenticationException
 
AuthenticationException(String) - Constructor for exception org.eclipse.lyo.server.oauth.core.AuthenticationException
 
AuthenticationException(Throwable) - Constructor for exception org.eclipse.lyo.server.oauth.core.AuthenticationException
 
authorize() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Responds with a web page to log in.
authorize(String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 

C

CALLBACK_URL - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
CALLBACK_URL - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
check(HttpServletRequest) - Static method in class org.eclipse.lyo.server.oauth.webapp.services.CSRFPrevent
 
closeConsumerStore() - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
closeConsumerStore() - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
closeConsumerStore() - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
closeConsumerStore() - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Closes the consumer store.
confirmCallback(OAuthRequest) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
CONNECTOR_ATTRIBUTE - Static variable in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
CONSUMER_KEY - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
CONSUMER_KEY - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
CONSUMER_NAME - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
CONSUMER_NAME - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
CONSUMER_RESOURCE - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
CONSUMER_RESOURCE - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
CONSUMER_SECRET - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
CONSUMER_SECRET - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
ConsumersService - Class in org.eclipse.lyo.server.oauth.webapp.services
Manages OAuth consumers for this provider.
ConsumersService() - Constructor for class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
 
ConsumerStore - Interface in org.eclipse.lyo.server.oauth.core.consumer
Manages persistence of OAuth consumers.
ConsumerStoreException - Exception in org.eclipse.lyo.server.oauth.core.consumer
Indicates an error occurred loading or saving consumer data.
ConsumerStoreException() - Constructor for exception org.eclipse.lyo.server.oauth.core.consumer.ConsumerStoreException
 
ConsumerStoreException(String, Throwable) - Constructor for exception org.eclipse.lyo.server.oauth.core.consumer.ConsumerStoreException
 
ConsumerStoreException(String) - Constructor for exception org.eclipse.lyo.server.oauth.core.consumer.ConsumerStoreException
 
ConsumerStoreException(Throwable) - Constructor for exception org.eclipse.lyo.server.oauth.core.consumer.ConsumerStoreException
 
contextDestroyed(ServletContextEvent) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ServletListener
 
contextInitialized(ServletContextEvent) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ServletListener
 
createConsumerStore() - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Invoked from this class to create ConsumerStore for OAuth keys.
createDataset() - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
createModel() - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
createModel(Dataset) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
CREDENTIALS_ATTRIBUTE - Static variable in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
CSRFPrevent - Class in org.eclipse.lyo.server.oauth.webapp.services
Checks requests to see if they have the right X-CSRF-Prevent header values.
CSRFPrevent() - Constructor for class org.eclipse.lyo.server.oauth.webapp.services.CSRFPrevent
 

D

DB - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
destroy() - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
doChainDoFilterWithConnector(HttpServletRequest, HttpServletResponse, FilterChain, Connection) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
The default implementation is:
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Check for OAuth or BasicAuth credentials and challenge if not found.
doGetAccessToken() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
doGetRequestToken() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
doPostAccessToken() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Responds with an access token and token secret for valid OAuth requests.
doPostRequestToken() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Responds with a request token and token secret.

F

FileSystemConsumerStore - Class in org.eclipse.lyo.server.oauth.consumerstore
A simple RDF consumer store backed by an XML file on the filesystem.
FileSystemConsumerStore(String) - Constructor for class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
FileSystemConsumerStore(Model, String) - Constructor for class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
fromResource(Resource) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
fromResource(Resource) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 

G

generateAccessToken(OAuthRequest) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
generateAccessToken(OAuthRequest) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Generates an access token and token secret and sets it in the accessor in the OAuthRequest.
generateRequestToken(OAuthRequest) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
generateRequestToken(OAuthRequest) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Generates a request token and token secret and sets it in the accessor in the OAuthRequest.
generateTokenString() - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
Creates a unique, random string to use for tokens.
generateVerificationCode(HttpServletRequest, String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
generateVerificationCode(HttpServletRequest, String) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Generates an "unguessable" OAuth verification code.
getAccessor() - Method in class org.eclipse.lyo.server.oauth.core.OAuthRequest
 
getAllConsumers() - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
getAllConsumers() - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Gets all OAuth consumers.
getAllConsumers() - Method in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
 
getApplication() - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
 
getCallback(HttpServletRequest, String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
getCallback() - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
getCallback(HttpServletRequest, String) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Gets the OAuth callback associated with this consumer for OAuth 1.0a authentication flows.
getConnector(HttpServletRequest) - Static method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
get Connector assigned to this request The connector should be placed in the session by the CredentialsFilter servlet filter
getConsumer(OAuthMessage) - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
getConsumer(String) - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
getConsumer(OAuthMessage) - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Gets the consumer for this message.
getConsumer(String) - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Gets the consumer for a key.
getConsumer() - Method in class org.eclipse.lyo.server.oauth.core.OAuthRequest
 
getConsumerKey() - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
getConsumerStore() - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Gets the store used for managing consumers.
getCredentials(HttpServletRequest) - Static method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Get Credentials for this session
getCredentialsForOAuth(String, String) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Create a Credentials object from given user id and password.
getCredentialsFromRequest(HttpServletRequest) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Extract credentials from the request and return it.
getDisplayName() - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
getHttpRequest() - Method in class org.eclipse.lyo.server.oauth.core.OAuthRequest
 
getInstance() - Static method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
 
getKey() - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
getMessage() - Method in exception org.eclipse.lyo.server.oauth.core.consumer.ConsumerStoreException
 
getMessage() - Method in class org.eclipse.lyo.server.oauth.core.OAuthRequest
 
getMessage() - Method in exception org.eclipse.lyo.server.oauth.core.utils.RestException
 
getName() - Method in interface org.eclipse.lyo.server.oauth.core.Application
Gets the name of the application to show in the login dialog.
getName() - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
Gets the name of the consumer, which might be shown in the login dialog and other user interfaces.
getOAuthRealm() - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
getOAuthVersion() - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
Gets the OAuth version that the consumer supports.
getRealm(HttpServletRequest) - Method in interface org.eclipse.lyo.server.oauth.core.Application
Gets the realm to be included in OAuth problem responses.
getRequestTokenData(OAuthRequest) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
Gets the request token data from this OAuth request.
getRequestTokenData(String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
Gets the request token data for this request token.
getStatusCode() - Method in exception org.eclipse.lyo.server.oauth.core.utils.RestException
 
getTokenSecret(HttpServletRequest, String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
getTokenSecret(HttpServletRequest, String) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Gets the token secret for token to validate signatures.
getTokenStrategy() - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Gets the strategy used to generate and verify OAuth tokens.
getValidator() - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Gets the OAuth validator for validating request signatures.
getVerificationCode() - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 

H

handleConsumerStoreException(ConsumerStoreException) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
 
HDR_CACHE_CONTROL - Static variable in class org.eclipse.lyo.server.oauth.webapp.services.HTTPConstants
 
HTTPConstants - Class in org.eclipse.lyo.server.oauth.webapp.services
 
HTTPConstants() - Constructor for class org.eclipse.lyo.server.oauth.webapp.services.HTTPConstants
 
httpRequest - Variable in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
 
httpRequest - Variable in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
httpResponse - Variable in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
 
httpResponse - Variable in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 

I

init(FilterConfig) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
isAdminSession(HttpServletRequest) - Method in interface org.eclipse.lyo.server.oauth.core.Application
Determines if the current session is an admin session.
isAdminSession(String, Connection, HttpServletRequest) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Tell if this is an admin session.
isAuthenticated(HttpServletRequest) - Method in interface org.eclipse.lyo.server.oauth.core.Application
Determines if the user is already authenticated with the application.
isAuthorized() - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
isProvisional() - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
isRequestTokenAuthorized(HttpServletRequest, String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
isRequestTokenAuthorized(HttpServletRequest, String) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Checks with the request token has been authorized by the end user.
isTrusted() - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
Answers if this consumer is trusted.
isV1_0Allowed() - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Is OAuth version 1.0 allowed, or do we require 1.0a?

J

JAZZ_INVALID_EXPIRED_TOKEN_OAUTH_PROBLEM - Static variable in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 

L

loadConsumers() - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
loadConsumers() - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
login(HttpServletRequest, String, String) - Method in interface org.eclipse.lyo.server.oauth.core.Application
Authenticates with the application.
login(Credentials, HttpServletRequest) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Create connection to your tool using the given credentials, and returns the connection.
login(String, String, String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Validates the ID and password on the authorization form.
login(String, String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Validates that the ID and password are for an administrator.
logout(Connection, HttpSession) - Method in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
Logout
LRUCache<K,V> - Class in org.eclipse.lyo.server.oauth.core.token
Least recently used cache for storing OAuth tokens.
LRUCache(int) - Constructor for class org.eclipse.lyo.server.oauth.core.token.LRUCache
 
LYO_OAUTH_NAMESPACE - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
LYO_OAUTH_NAMESPACE - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
LyoOAuthConsumer - Class in org.eclipse.lyo.server.oauth.core.consumer
An OAuth consumer with extra properties, including a name and a trusted flag.
LyoOAuthConsumer(String, String) - Constructor for class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
LyoOAuthConsumer(String, String, String) - Constructor for class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
LyoOAuthConsumer(String, String, String, OAuthServiceProvider) - Constructor for class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
LyoOAuthConsumer.OAuthVersion - Enum in org.eclipse.lyo.server.oauth.core.consumer
 

M

markRequestTokenAuthorized(HttpServletRequest, String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
markRequestTokenAuthorized(HttpServletRequest, String) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Indicates that a user has typed in a valid ID and password, and that the request token can now be exchanged for an access token.

N

NO_CACHE - Static variable in class org.eclipse.lyo.server.oauth.webapp.services.HTTPConstants
 

O

OAUTH_EMPTY_TOKEN_KEY - Static variable in class org.eclipse.lyo.server.oauth.core.utils.AbstractAdapterCredentialsFilter
 
OAuthConfiguration - Class in org.eclipse.lyo.server.oauth.core
Manages the OAuth provider configuration, including the validator, consumer store, and token strategy.
OAuthRequest - Class in org.eclipse.lyo.server.oauth.core
Validates that a request is authorized.
OAuthRequest(HttpServletRequest) - Constructor for class org.eclipse.lyo.server.oauth.core.OAuthRequest
 
OAuthService - Class in org.eclipse.lyo.server.oauth.webapp.services
Issues OAuth request tokens, handles authentication, and then exchanges request tokens for access tokens based on the OAuth configuration set in the OAuthConfiguration singleton.
OAuthService() - Constructor for class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
org.eclipse.lyo.server.oauth.consumerstore - package org.eclipse.lyo.server.oauth.consumerstore
 
org.eclipse.lyo.server.oauth.core - package org.eclipse.lyo.server.oauth.core
 
org.eclipse.lyo.server.oauth.core.consumer - package org.eclipse.lyo.server.oauth.core.consumer
 
org.eclipse.lyo.server.oauth.core.token - package org.eclipse.lyo.server.oauth.core.token
 
org.eclipse.lyo.server.oauth.core.utils - package org.eclipse.lyo.server.oauth.core.utils
 
org.eclipse.lyo.server.oauth.webapp.services - package org.eclipse.lyo.server.oauth.webapp.services
 

P

PROVISIONAL - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
PROVISIONAL - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
provisionalKey() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Generates a provisional consumer key.

R

RdfConsumerStore - Class in org.eclipse.lyo.server.oauth.consumerstore
A simple RDF consumer store backed by a Jena TDB native datastore
RdfConsumerStore() - Constructor for class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
RdfConsumerStore(Dataset) - Constructor for class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
RdfConsumerStore(Model) - Constructor for class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
remove(String) - Method in class org.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
 
removeConsumer(String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
removeConsumer(String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
removeConsumer(String) - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Removes a consumer.
removeConsumer(String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
Deletes an OAuth consumer.
removeEldestEntry(Map.Entry<K, V>) - Method in class org.eclipse.lyo.server.oauth.core.token.LRUCache
 
removeProperties(String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
Removes any properties previously associated with the consumer.
removeProperties(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
Removes any properties previously associated with the consumer.
removeProperties(String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
Removes any properties previously associated with the consumer.
removeProperties(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
Removes any properties previously associated with the consumer.
RequestTokenData(String) - Constructor for class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
RequestTokenData(String, String) - Constructor for class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
respondWithOAuthProblem(OAuthException) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
respondWithToken(String, String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
respondWithToken(String, String, boolean) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
 
RestException - Exception in org.eclipse.lyo.server.oauth.core.utils
Holds a status code and error message for an error response.
RestException(int, String) - Constructor for exception org.eclipse.lyo.server.oauth.core.utils.RestException
 
RestException(Throwable) - Constructor for exception org.eclipse.lyo.server.oauth.core.utils.RestException
 
RestException(Throwable, int) - Constructor for exception org.eclipse.lyo.server.oauth.core.utils.RestException
 

S

ServletListener - Class in org.eclipse.lyo.server.oauth.webapp.services
 
ServletListener() - Constructor for class org.eclipse.lyo.server.oauth.webapp.services.ServletListener
 
setApplication(Application) - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
 
setAuthorized(boolean) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
setCallback(String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
setConsumerKey(String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
setConsumerStore(ConsumerStore) - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Sets the store used for managing consumers.
setHttpRequest(HttpServletRequest) - Method in class org.eclipse.lyo.server.oauth.core.OAuthRequest
 
setMessage(String) - Method in exception org.eclipse.lyo.server.oauth.core.utils.RestException
 
setName(String) - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
Sets the name of the consumer, which might be shown in the login dialog and other user interfaces.
setOAuthVersion(LyoOAuthConsumer.OAuthVersion) - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
Sets the OAuth version that the consumer supports.
setProvisional(boolean) - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
setStatusCode(int) - Method in exception org.eclipse.lyo.server.oauth.core.utils.RestException
 
setTokenStrategy(TokenStrategy) - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Sets the strategy used to generate and verify OAuth tokens.
setTrusted(boolean) - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
Sets if this consumer is trusted.
setV1_0Allowed(boolean) - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Sets if we allow OAuth 1.0.
setValidator(OAuthValidator) - Method in class org.eclipse.lyo.server.oauth.core.OAuthConfiguration
Sets the OAuth validator for validating request signatures.
setVerificationCode(String) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy.RequestTokenData
 
showApproveKeyPage(String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Shows the approval page for a single provisional consumer.
showConsumerKeyManagementPage() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Shows the consumer management page, which allows administrator to approve or remove OAuth consumers.
SimpleTokenStrategy - Class in org.eclipse.lyo.server.oauth.core.token
A simple strategy for generating and validating tokens.
SimpleTokenStrategy() - Constructor for class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
Constructs a SimpleTokenStrategy using the defaults for cache limits on request and access tokens.
SimpleTokenStrategy(int, int) - Constructor for class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
Constructs a SimpleTokenStrategy with cache limits on the number of request and access tokens.
SimpleTokenStrategy.RequestTokenData - Class in org.eclipse.lyo.server.oauth.core.token
Holds information associated with a request token such as the callback URL and OAuth verification code.

T

TokenStrategy - Interface in org.eclipse.lyo.server.oauth.core.token
Manages and validates OAuth tokens and token secrets.
toResource(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
toResource(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
TRUSTED - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
TRUSTED - Static variable in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 

U

UnauthorizedException - Exception in org.eclipse.lyo.server.oauth.core.utils
Corresponds to an HTTP 401 response.
UnauthorizedException() - Constructor for exception org.eclipse.lyo.server.oauth.core.utils.UnauthorizedException
 
UnauthorizedException(String) - Constructor for exception org.eclipse.lyo.server.oauth.core.utils.UnauthorizedException
 
UnauthorizedException(Throwable) - Constructor for exception org.eclipse.lyo.server.oauth.core.utils.UnauthorizedException
 
updateConsumer(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
updateConsumer(LyoOAuthConsumer) - Method in class org.eclipse.lyo.server.oauth.consumerstore.RdfConsumerStore
 
updateConsumer(LyoOAuthConsumer) - Method in interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore
Updates a consumer.
updateConsumer(String, String, String, String) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ConsumersService
Updates an OAuth consumer.

V

validate() - Method in class org.eclipse.lyo.server.oauth.core.OAuthRequest
Validates that the request is authorized and throws an OAuth exception if not.
validateAccessToken(OAuthRequest) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
validateAccessToken(OAuthRequest) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Validates that the access token is valid, throwing an exception if not.
validateRequest() - Method in class org.eclipse.lyo.server.oauth.webapp.services.OAuthService
Validates this is a known consumer and the request is valid using OAuthValidator.validateMessage(net.oauth.OAuthMessage, OAuthAccessor).
validateRequestToken(HttpServletRequest, OAuthMessage) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
validateRequestToken(HttpServletRequest, OAuthMessage) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Validates that the request token is valid, throwing an exception if not.
validateVerificationCode(OAuthRequest) - Method in class org.eclipse.lyo.server.oauth.core.token.SimpleTokenStrategy
 
validateVerificationCode(OAuthRequest) - Method in interface org.eclipse.lyo.server.oauth.core.token.TokenStrategy
Validates that the verification code is recognized and associated with the request token.
valueOf(String) - Static method in enum org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer.OAuthVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer.OAuthVersion
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeModel() - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
A C D F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2018. All Rights Reserved.