Support Token Authentication Valve icon
Module Id
support-token-authentication-valve
Group Id
org.jahia.modules
Updated
Requires Jahia
8.0.1.0
Author
Florent BOURASSE
Category
Tools and Utilities
Status
COMMUNITY info

Support Token Authentication Valve group_work

cloud support

The purpose of this module is to create a temporary token for a user that will be used by a Support Team to login. This way, it's not needed to disclose the real password (when it's known).

Dependencies & Dependants

Dependencies
  • NONE
Dependants
  • NONE

FAQ

In the administration mode

  • Go to the items "User", either in the server settings or in the site settings
  • Look for the user for which the token needs to be generated then click on it
    • Specify the recipient who will receive the token
    • Explain the purpose of this token (bug, ticket, delivery, etc)
    • Set the expiration in minutes
    • Click on the button "Add"
  • An email will be sent to the recipient with the token and these information. The same email, but without the token, will be sent to the recipient of the notifications for this Jahia server.

With Karaf commands

support-token:create

Create a token for a user

Options:

Name alias Mandatory Value Description
-s --site-key   null Site key
-u --username x null Username
-r --recipient x null Recipient of the token
-d --description   Access for Jahia Support Description
-e --expiration   60 Expiration (in minutes)

Example:

support-token:create -u root -r support@jahia.com 

support-token:list

List tokens for a user

Options:

Name alias Mandatory Value Description
-s --site-key   null Site key
-u --username x null Username

Example:

support-token:list -u root

support-token:clear

Clear all tokens of a user

Options:

Name alias Mandatory Value Description
-s --site-key   null Site key
-u --username x null Username

Example:

support-token:clear -u root 

How To Install

  • In Jahia, go to "Administration --> Server settings --> System components --> Modules"
  • Upload the JAR support-token-authentication-valve-X.X.X.jar
  • Check that the module is started
  • Make sure the Mail server is configured and activated in the administration

Images

License

MIT License

Copyright (c) 2019 - present Florent Bourassé

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.