i have to provide encryption for the password field in context.xml file i.e. when i enter the password,it must be seen in some other format like dots,stars or some other unusual format.. Is it Possible?
The file (and its contents) is unencrypted, so it will always show the actual password. But it's not meant for production uses anyway; for that, use a JDBCRealm or DataSourceRealm. Then the password can be digested in the DB (which is a secure way of storing it).