Skip navigation links
A C D E 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
 
AcceptUtil - Class in org.eclipse.lyo.oslc4j.utils
Utilities for matching media types from an HTTP Accept header.
AcceptUtil() - Constructor for class org.eclipse.lyo.oslc4j.utils.AcceptUtil
 
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.
addOslcResource(T) - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
addOslcResourceReturnClientResponse(Object) - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
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.oslc4j.core.servlet.ServletListener
 
contextDestroyed(ServletContextEvent) - Method in class org.eclipse.lyo.server.oauth.webapp.services.ServletListener
 
contextInitialized(ServletContextEvent) - Method in class org.eclipse.lyo.oslc4j.core.servlet.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
 
decrypt(String, String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 
DEFAULT_READ_TIMEOUT - Static variable in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
deregisterServiceProvider(URI) - Method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
Remove registration for a ServiceProvider.
deregisterServiceProvider(String) - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderResource
 
deregisterServiceProvider(String) - Static method in class org.eclipse.lyo.oslc4j.core.servlet.ServiceProviderCatalogSingleton
 
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.

E

encrypt(String, String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
 

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(String, String) - Constructor for class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
This provides a extra parameter for storing the consumer secret encrypted by a userKey
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.
getClasses() - Method in class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 
getClient() - Method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
 
getClientResource() - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
getCompact() - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderCatalogResource
 
getCompact(String) - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderResource
 
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
 
getInstances() - Method in class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 
getKey() - Method in class org.eclipse.lyo.server.oauth.core.consumer.LyoOAuthConsumer
 
getMediaType() - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
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.
getOslcResource(Class<T>) - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
getOslcResources(Class<T[]>) - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
getOslcResources(EntityType<T>) - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
getPriority() - Method in class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 
getProviders() - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
getReadTimeout() - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
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.
getResourceShape(HttpServletRequest, String) - Method in class org.eclipse.lyo.oslc4j.application.OslcResourceShapeResource
 
getSecreteKey(String) - Method in class org.eclipse.lyo.server.oauth.consumerstore.FileSystemConsumerStore
It generate Secret Key of length 32 bytes using user provided key.
getServiceProvider() - Method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
If a ServiceProvider is being used as a ServiceProvider registry without an owning ServiceProviderCatalog, this will return the ServiceProvider.
getServiceProvider(String) - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderResource
 
getServiceProvider(String) - Static method in class org.eclipse.lyo.oslc4j.core.servlet.ServiceProviderCatalogSingleton
 
getServiceProviderCatalog() - Method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
If a ServiceProviderCatalog is being used, this will return that object.
getServiceProviderCatalog() - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderCatalogResource
 
getServiceProviderCatalog() - Static method in class org.eclipse.lyo.oslc4j.core.servlet.ServiceProviderCatalogSingleton
 
getServiceProviderCatalogs() - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderCatalogResource
 
getServiceProviderRegistryURI() - Static method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryURIs
 
getServiceProviders() - Method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
Return the registered ServiceProvider's.
getServiceProviders() - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderResource
 
getServiceProviders() - Static method in class org.eclipse.lyo.oslc4j.core.servlet.ServiceProviderCatalogSingleton
 
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.
getUIURI() - Static method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryURIs
 
getUri() - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
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
 
instances - Variable in class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 
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.
matchMediaType(HttpServletRequest) - Static method in class org.eclipse.lyo.oslc4j.utils.AcceptUtil
Matches requested media types against AcceptUtil.OSLC_ACCEPTABLE media types.
matchMediaType(HttpServletRequest, MediaType[]) - Static method in class org.eclipse.lyo.oslc4j.utils.AcceptUtil
Matches requested media types against a list of acceptable media types.

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.oslc4j.application - package org.eclipse.lyo.oslc4j.application
 
org.eclipse.lyo.oslc4j.client - package org.eclipse.lyo.oslc4j.client
 
org.eclipse.lyo.oslc4j.core.resources - package org.eclipse.lyo.oslc4j.core.resources
 
org.eclipse.lyo.oslc4j.core.servlet - package org.eclipse.lyo.oslc4j.core.servlet
 
org.eclipse.lyo.oslc4j.utils - package org.eclipse.lyo.oslc4j.utils
 
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
 
Oslc4JRegistryApplication - Class in org.eclipse.lyo.oslc4j.core.resources
 
Oslc4JRegistryApplication() - Constructor for class org.eclipse.lyo.oslc4j.core.resources.Oslc4JRegistryApplication
 
OSLC_ACCEPTABLE - Static variable in class org.eclipse.lyo.oslc4j.utils.AcceptUtil
 
OslcResourceShapeResource - Class in org.eclipse.lyo.oslc4j.application
This class provides a generic JAX-RS resource to expose ResourceShapes for an OSLC Domain.
OslcResourceShapeResource(String, Map<String, Class<?>>) - Constructor for class org.eclipse.lyo.oslc4j.application.OslcResourceShapeResource
 
OslcRestClient - Class in org.eclipse.lyo.oslc4j.client
 
OslcRestClient(Set<Class<?>>, String, String, int, ClientHandler...) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, String, String) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, String, int) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, String) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, URI, String, int) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, URI, String) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, URI, int) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcRestClient(Set<Class<?>>, URI) - Constructor for class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
OslcWinkApplication - Class in org.eclipse.lyo.oslc4j.application
This class extends WinkApplication and supports a generic ResourceShape JAX-RS resource.
OslcWinkApplication(Set<Class<?>>, String, Map<String, Class<?>>) - Constructor for class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 
OslcWinkApplication(Set<Class<?>>, String) - Constructor for class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 

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
 
registerServiceProvider(ServiceProvider) - Method in class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
Register a ServiceProvider.
registerServiceProvider(HttpServletRequest, ServiceProvider) - Method in class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderResource
 
registerServiceProvider(HttpServletRequest, ServiceProvider) - Static method in class org.eclipse.lyo.oslc4j.core.servlet.ServiceProviderCatalogSingleton
 
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
 
removeOslcResourceReturnClientResponse() - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 
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
 
resourceClasses - Variable in class org.eclipse.lyo.oslc4j.application.OslcWinkApplication
 
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

ServiceProviderCatalogResource - Class in org.eclipse.lyo.oslc4j.core.resources
 
ServiceProviderCatalogResource() - Constructor for class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderCatalogResource
 
ServiceProviderCatalogSingleton - Class in org.eclipse.lyo.oslc4j.core.servlet
 
ServiceProviderRegistryClient - Class in org.eclipse.lyo.oslc4j.client
This class provides methods to register and deregister ServiceProvider's.
ServiceProviderRegistryClient(Set<Class<?>>, String, String) - Constructor for class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
 
ServiceProviderRegistryClient(Set<Class<?>>, String) - Constructor for class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
 
ServiceProviderRegistryClient(Set<Class<?>>) - Constructor for class org.eclipse.lyo.oslc4j.client.ServiceProviderRegistryClient
Construct a client to assist with registering and deregistering ServiceProvider's.
ServiceProviderRegistryURIs - Class in org.eclipse.lyo.oslc4j.client
 
ServiceProviderResource - Class in org.eclipse.lyo.oslc4j.core.resources
 
ServiceProviderResource() - Constructor for class org.eclipse.lyo.oslc4j.core.resources.ServiceProviderResource
 
ServletListener - Class in org.eclipse.lyo.oslc4j.core.servlet
 
ServletListener() - Constructor for class org.eclipse.lyo.oslc4j.core.servlet.ServletListener
 
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.
updateOslcResourceReturnClientResponse(Object) - Method in class org.eclipse.lyo.oslc4j.client.OslcRestClient
 

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 E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2018. All Rights Reserved.