Package com.sodius.oslc.server.oauth
package com.sodius.oslc.server.oauth
Facilities to provide OAuth authentication on server side and facilitate friending with OSLC remote applications.
-
ClassDescriptionProvide a default implementation of the store, leaving to sub classes the responsibility of the actual loading and saving of friends.Provides a skeletal implementation of the
OAuthApplicationinterface, to minimize the effort required to implement this interface.DefaultOAuthIdentityTokenStrategyimplementation that is, depending on theCacheBuildercluster factory set by the application, able to work on cluster environments.A simple RDF consumer store backed by an XML file on the filesystem.A simple RDF friend store backed by an XML file on the filesystem.Manages persistence of OAuth friends.Represents a functional user, which is a an identity associated to a consumer registered in the application.Handles authentication with the backend system.Represents the identity of a user that successfully authenticated to the application.OAuthIdentity.ImpersonationCallable<V,X extends Exception> A callable that throws a specific type of exception and that is to execute on behalf of a functional user.ATokenStrategythat is aware of theOAuthIdentityof the authorizing user.The central place for OAuth capabilities provided on server side.Exception used by a server-sideOAuthHandlerto indicate a remote OSLC application requires a user log-in and approval to allow accessing a resource.A OAuth connection handler targeted for OSLC provider applications.Provide Secured Store for Consumer or Friend.