on 2005 Dec 02 12:53 AM
Hi,
I was authenticating a user in SAP using the following code:
System.out.println("\n\nVersion of the JCO-library:\n" + "----
\n"
+ JCO.getMiddlewareVersion());
Properties props = new Properties();
props.put("jco.client.client", "800");
props.put("jco.client.user", "gk1");
props.put("jco.client.passwd", "password");
props.put("jco.client.lang", "EN");
props.put("jco.client.sysnr", "01");
props.put("jco.client.ashost", "172...*");
client = JCO.createClient(props);
// Open the connection
client.connect();
Here, the password for the "gk1" user is "password". Now if I update the password to be "password1" in the code - the user is still authenticated. No matter how many times I add digits towards the end of the password for this user, it still gets authenticated. Any ideas?
Thanks
Hi Gaurav,
In SAP R/3 system, it takes only 8 digit password for any user. So, it checks upto 8 characters only. No metter how much digits or characters you have appended.
Try to give some other password instead of just appending digits or characters behing "password".
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.