Password displayed using System.out.println or Logger. How to hidethis ?

P

pramodr

Hi group,

I have an application running Tomcat 5.5 which is under testing now.
The container managed security feature is enabled in web.xml. The
supplied username and password is authenticated against an LDAP
server. The logger displays the username and password. However it is
better to scramble or hide the password for security reasons when this
goes to production. What are the possible solutions for this ? Is it
possible without modifying the code at all (like enable https or like
that) ?

regards
Pramod
 
M

Marcin Rze¼nicki

Hi group,

I have an application running Tomcat 5.5 which is under testing now.
The container managed security feature is enabled in web.xml. The
supplied username and password is authenticated against an LDAP
server. The logger displays the username and password. However it is
better to scramble or hide the password for security reasons when this
goes to production. What are the possible solutions for this ? Is it
possible without modifying the code at all (like enable https or like
that) ?

You can usually modify logger level using configuration files without
touching your code. If you reveal what logging package this
application uses, we can guide you better.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top