Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Run the following command (Replace <CLEAR-TEXT-PASSWORD> with your password): todo:HK montier-ui 

    Code Block
    languagebash
    themeRDark
     java -cp "/app/ui/MonTier-UI/lib/*:/app/ui/MonTier-UI/bin/*" org.apache.catalina.realm.RealmBase -a SHA1 <CLEAR-TEXT-PASSWORD>  
    or
      
    /app/ui/MonTier-UI/bin/digest.sh -a SHA1 <CLEAR-TEXT-PASSWORD>

    The system will create an encrypted password and display the result in the following format:

    <CLEAR-TEXT-PASSWORD>:<ENCRYPTED-PASSWORD>

     

  2. Modify the JNDIRealm XML element (this is the element discussed above)

    Code Block
    languagebash
    themeRDark
    <Realm className="org.apache.catalina.realm.JNDIRealm"
       ...
       connectionPassword="<ENCRYPTED-PASSWORD>"
       digest="MD5"
       ...
    />

...