Versions Compared

Key

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

...

Code Block
languagebash
themeRDark
vi /app/ui/MonTier-UI/conf/server.xml

todo: HK montier-ui?

Disabling DB registry

DPOD is set up by default with the internal database user management option. To use LDAP, you will first have to disable the DB registry
To do that, comment out the DataSourceRealm element (see below)

...

  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"
       ...
    />

...