Package com.sodius.oslc.server.oauth
Facilities to provide OAuth authentication on server side and facilitate friending with OSLC remote applications.
-
Interface Summary Interface Description FriendStore Manages persistence of OAuth friends.OAuthApplication Handles authentication with the backend system.OAuthIdentityTokenStrategy ATokenStrategythat is aware of theOAuthIdentityof the authorizing user. -
Class Summary Class Description AbstractFriendStore Provide a default implementation of the store, leaving to sub classes the responsibility of the actual loading and saving of friends.AbstractOAuthApplication Provides a skeletal implementation of theOAuthApplicationinterface, to minimize the effort required to implement this interface.ClusterableTokenStrategy DefaultOAuthIdentityTokenStrategyimplementation that is, depending on theCacheBuildercluster factory set by the application, able to work on cluster environments.FileSystemConsumerStore A simple RDF consumer store backed by an XML file on the filesystem.FileSystemFriendStore A simple RDF friend store backed by an XML file on the filesystem.FunctionalUser Represents a functional user, which is a an identity associated to a consumer registered in the application.OAuthIdentity Represents the identity of a user that successfully authenticated to the application.OAuthServer The central place for OAuth capabilities provided on server side.RedirectOAuthHandler A OAuth connection handler targeted for OSLC provider applications.Stores Provide Secured Store for Consumer or Friend. -
Exception Summary Exception Description RedirectOAuthException Exception used by a server-sideOAuthHandlerto indicate a remote OSLC application requires a user log-in and approval to allow accessing a resource.