Package | Description |
---|---|
fr.cnes.doi.application |
Data Object Identifier managing a coherent set of resources and services.
|
fr.cnes.doi.client |
Provides classes to request external web services.
|
fr.cnes.doi.db |
Provides interfaces to request external databases.
|
fr.cnes.doi.logging.api |
Provides log Handler, Filter, Formatter and monitoring system for the API.
|
fr.cnes.doi.logging.security |
Provides a filter to log security event such as login to the administration page.
|
fr.cnes.doi.plugin |
Provides classes to loads a plugin in the classpath.
|
fr.cnes.doi.resource |
Provides base resources
|
fr.cnes.doi.resource.admin |
Provides resources for the AdminApplication.
|
fr.cnes.doi.resource.citation |
Provides resources for cross cite application.
|
fr.cnes.doi.resource.mds |
Provides resources for Meta Data Store application.
|
fr.cnes.doi.security |
Provides classes to secure the server.
|
fr.cnes.doi.server |
Provides classes to create the server and start it.
|
fr.cnes.doi.services |
Provides classes to monitor the speed of
Meta
Data Store application . |
fr.cnes.doi.settings |
Provides settings for the server.
|
fr.cnes.doi.utils |
Provides utility class.
|
org.restlet.ext.wadl |
Provides classes to patch WADL feature from Restlet
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractApplication
Creates a base application by setting both the CORS, the DOI status page, the
proxy and the DOI.
|
Modifier and Type | Method and Description |
---|---|
protected org.restlet.security.ChallengeAuthenticator |
AbstractApplication.createAuthenticator()
Creates the authenticator based on a HTTP basic.
|
protected org.restlet.security.ChallengeAuthenticator |
AbstractApplication.createAuthenticatorLoginBased()
Creates the authenticator based on a HTTP basic.
|
private org.restlet.service.TaskService |
AdminApplication.createTaskService()
A task checking status of landing pages each 30 days.
|
protected org.restlet.security.ChallengeAuthenticator |
AbstractApplication.createTokenAuthenticator()
Creates an authentication by token.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientCrossCiteCitation
Client to query the citation service.
|
class |
ClientMDS
Client to query Metadata store service at
Datacite.
|
private static class |
ClientMDS.MyValidationEventHandler
Metadata Validation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProjectSuffixDBHelper
Interface for handling the project suffix database.
|
class |
AbstractTokenDBHelper
Interface for handling the token database.
|
class |
AbstractUserRoleDBHelper
Interface for handling users and role database.
|
Modifier and Type | Class and Description |
---|---|
class |
DoiLogDataServer
Creates a LOG service to monitor the speed of applications.
|
Modifier and Type | Class and Description |
---|---|
class |
DoiSecurityLogFilter
Log filter for DOI security
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAuthenticationPluginHelper |
class |
AbstractProjectSuffixPluginHelper |
class |
AbstractTokenDBPluginHelper |
class |
AbstractUserRolePluginHelper
Plugin to define users and groups of the system.
|
class |
PluginFactory |
interface |
PluginMetadata
Provides metadata about the plugin.
|
Modifier and Type | Method and Description |
---|---|
static void |
Utils.addPath(String path)
Adds a path in the classPath.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResource
Abstract resource.
|
Modifier and Type | Class and Description |
---|---|
class |
TokenResource
Provides a resource to create token and to decrypt token
|
Modifier and Type | Method and Description |
---|---|
void |
ManageUsersResource.addUserToProject(org.restlet.data.Form mediaForm)
Adds user to project
|
org.restlet.representation.Representation |
SuffixProjectsResource.createProject(org.restlet.data.Form mediaForm)
Creates a suffix projet based on the project name.
|
String |
TokenResource.createToken(org.restlet.data.Form infoForm)
Creates and stores a token.
|
void |
ManageUsersResource.deleteProject()
Delete the project
|
void |
ManageProjectsResource.deleteProject()
Delete the project from database.
|
void |
TokenResource.deleteToken()
Deletes token.
|
protected void |
SuffixProjectsResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes a GET method.
|
protected void |
SuffixProjectsDoisResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes a GET method.
|
protected void |
TokenResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes GET method.
|
protected void |
SuffixProjectsResource.describePost(org.restlet.ext.wadl.MethodInfo info)
Describes a POST method.
|
protected void |
TokenResource.describePost(org.restlet.ext.wadl.MethodInfo info)
Describes POST method.
|
Map<String,Integer> |
SuffixProjectsResource.getProjectsNameAsJson()
Returns the list of projects as Json or xml format.
|
List<String> |
SuffixProjectsDoisResource.getProjectsNameAsJson()
Returns the list of dois from the project suffix sent in url.
|
org.restlet.representation.Representation |
TokenResource.getTokenInformation()
Returns the information from the token encoded as JSon format.
|
private org.restlet.ext.wadl.RepresentationInfo |
TokenResource.jsonRepresentation()
projects representation
|
private org.restlet.ext.wadl.RepresentationInfo |
SuffixProjectsResource.projectsRepresentation()
projects representation
|
private org.restlet.ext.wadl.RepresentationInfo |
SuffixProjectsDoisResource.projectsRepresentation()
projects representation
|
void |
ManageProjectsResource.renameProject(org.restlet.data.Form mediaForm)
Rename the project from the project id sent in url.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StyleCitationResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the Get Method.
|
protected void |
FormatCitationResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the Get Method.
|
protected void |
LanguageCitationResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the Get Method.
|
Modifier and Type | Method and Description |
---|---|
private void |
DoiResource.checkInput(String doiName)
Checks if doiName is not empty and contains the institution's prefix
|
private void |
DoisResource.checkInputs(org.restlet.data.Form mediaForm)
Checks input parameters.
|
private void |
MetadatasResource.checkInputs(Object obj)
Checks inputs.
|
private void |
MetadataResource.checkInputs(String doiName)
Checks input parameters
|
private void |
MediaResource.checkInputs(String doi,
org.restlet.data.Form mediaForm)
Checks input parameters
|
protected void |
BaseMdsResource.checkPermission(String doiName,
String selectedRole)
Checks permissions to access according to the role of the user and the
DOI name.
|
protected void |
MetadataResource.describeDelete(org.restlet.ext.wadl.MethodInfo info)
Describes the DELETE method.
|
protected void |
MetadataResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the GET method.
|
protected void |
DoiResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the Get Method.
|
protected void |
MediaResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the GET method.
|
protected void |
DoisResource.describeGet(org.restlet.ext.wadl.MethodInfo info)
Describes the GET method.
|
protected void |
MetadatasResource.describePost(org.restlet.ext.wadl.MethodInfo info)
Describes the POST method.
|
protected void |
MediaResource.describePost(org.restlet.ext.wadl.MethodInfo info)
Describes the POST method.
|
protected void |
DoisResource.describePost(org.restlet.ext.wadl.MethodInfo info)
Describes the POST method.
|
private org.restlet.ext.wadl.RepresentationInfo |
DoiResource.doiRepresentation()
DOI representation
|
private org.restlet.ext.wadl.RepresentationInfo |
DoisResource.explainStatusRepresentation()
Returns the exit status representation.
|
String |
BaseMdsResource.extractSelectedRoleFromRequestIfExists()
Extract selectedRole from HTTP header.
|
private org.restlet.ext.wadl.RepresentationInfo |
DoisResource.noContentRepresentation()
Returns the no content representation.
|
private org.restlet.ext.wadl.RepresentationInfo |
DoisResource.requestRepresentation()
Request representation.
|
private org.restlet.ext.wadl.RepresentationInfo |
DoisResource.successFullRepresentation()
Returns the sucessfull representation.
|
Modifier and Type | Class and Description |
---|---|
class |
RoleAuthorizer
Security class for authentication by REALM.
|
class |
TokenBasedVerifier
Security class for checking token.
|
class |
TokenSecurity
Security class for token generation.
|
class |
UtilsHeader
Utility class.
|
Modifier and Type | Method and Description |
---|---|
private void |
DoiServer.configureServer()
Configures the Server in HTTP and HTTPS.
|
private static void |
Starter.startServer(DoiServer server)
Starts the server
|
Modifier and Type | Class and Description |
---|---|
class |
LandingPageMonitoring
Provides a check on the availability of each published landing page publisher
|
Modifier and Type | Class and Description |
---|---|
class |
DoiSettings
Singleton to load and use the defined variables in the config.properties.
|
class |
EmailSettings
Singleton to load and use Email settings.
|
class |
JettySettings
Fills Jetty configuration file based on DoiSettings and registers it in
Jetty.
|
class |
ProxySettings
Sets the proxy parameter based on DoiSettings.
|
Modifier and Type | Class and Description |
---|---|
class |
UniqueProjectName
Utils class to generate a unique number from the project name
|
Modifier and Type | Class and Description |
---|---|
class |
WadlCnesRepresentation
Generates a WADL based on a patch of the Restlet XSLT.
|
Copyright © 2017–2020 CNES. All rights reserved.