Package com.uc4.util

Class CITEncryption


  • public class CITEncryption
    extends java.lang.Object
    Decrypts passwords in RA connection objects. It is a security problem but currently some RA solutions use the request GetRAConnectionValues in the UI part. Only the Agent should get passwords.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String decrypt​(java.lang.String value, ConnectionAttributes sessioninfo)
      Decrypts a password in an RA connection object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • decrypt

        public static java.lang.String decrypt​(java.lang.String value,
                                               ConnectionAttributes sessioninfo)
        Decrypts a password in an RA connection object.
        Parameters:
        value - Encrypted string
        sessioninfo - Session info with user id and session id
        Returns:
        Password in clear text or the input value if decryption fails