Skip to content

lutece-platform/lutece-auth-plugin-termofservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alerte Line of code Coverage

Plugin termofservice

Introduction

This plugin is used to create TOS in backoffice. This TOS can be displayed in front office and can be accepted by an user. The acceptance of the TOS can be stored in local or on a distant server. An url can beused to configure the distant server.

Configuration

In back-office, you can access the page Manage TOS to add or modify a TOS. You can also add a version attached to the TOS. The TOS displayed in front office will always be the one with the greatest version.In the termofservice.properties file, there is two important parameters : termofservice.usedRemote : noted if the plugin must check the acceptance of TOS on a distant url.termofservice.urlexternaltos : the distant url to use. The url is activated only if the parameter termofservice.usedRemote is true.

Usage

The TOS front office page is reachable with the url Portal.jsp?page=entry When a user use this url, the plugin check if the user has accepted the TOS. If this is not the case,the Terms of Use acceptance page is displayed. Some webservices are also available :a WS GET /rest/termofservice/api/v1/useraccepteds/{guid} check if a user has accepted the TOS using his GUID.a WS POST /rest/termofservice/api/v1/useraccepteds Accept the TOS for a user. This method takes two parameters : the guid and the TOS id.

Maven documentation and reports

generated by xdoc2md - do not edit directly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 8