Configure Private Authentication for CGE

Procedure for enabling private CGE authentication mechanism

Use this procedure to set up private authentication for the CGE instance web UI.

  1. Execute one of the following commands on the login node of the system where CGE is intended to run.
    • $ cge-cli generate shiro simple > $HOME/.cge/shiro.ini
    • $ cge-cli generate shiro forms > $HOME/.cge/shiro.ini
      The first command will produce an HTTP Basic configuration template, the second command will produce a forms-based configuration template.
  2. Add users.
    1. Look for the users section of the configuration template.
      [users]
      # Define two users
      admin = admin
      user = password
    2. Edit users as needed.
      For example, to have three users: phyllis, jodi and allan, set up the users as follows:
      [users]
      # Define two users
      phyllis = PasswordForPhyllis
      jodi = PasswordForJodi
      allan = PasswordForAllan
      These examples show the passwords stored as clear-text. Refer to http://shiro.apache.org/documentation.html for examples related to using one-way encryption to make passwords less accessible .