Skip to Content
0
Former Member
Nov 11, 2005 at 10:19 AM

Hard code username & password for system

56 Views

Hi All,

I'm using this piece of code to connect to the back-end via a defined system (with alias='CN')

try {
	con = cgservice.getConnection("CN", cp);
	}
	catch (Exception e)
 {
			   e.printStackTrace();
  }

Is there a way I can hard code the username and password in this code instead of doing user-mapping on the portal?

Please help..urgent!

Thanks