Please any can tell me that hoe can I hide my password in dfc application. Is there is any way to hard code my password. if so, please help me.
Thanks in advance.
Are you trying to "mask" the password in your UI (eg replace the letters with *)? This is different from "hard-coding" password when trying to establish a session. If you want to hard-code password, just pass in the value to IDfLogin class.
If you're talking about hardcoding it in a properties file or something, you can encrypt it with com.documentum.fc.tools.RegistryPasswordUtils.
You can then decrypt it again in your code.