× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




You guys are correct. The user that makes the connection needs no authority to the user profiles to use authenticate(user, password). And Walden is correct, you can screw up any user profile you care to. You'd need to have authority to get a list of them, I think. Otherwise you could use Walden's ploy to disable every user profile on the system.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Thursday, August 27, 2009 9:58 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Checking the validity of AS400 login details

Dan,

Are you sure about "You first have to establish a connection using a userid and password that has authority to all the user profiles."

I don't see anything in the Java Docs about such a requirement, nor does it make sense IMHO.



Charles

On Thu, Aug 27, 2009 at 10:42 AM, Dan Kimmel<dkimmel@xxxxxxxxxxxxxxx> wrote:

The AS400 class has an instance method called authenticate that takes
user and password as parameters. You first have to establish a
connection using a userid and password that has authority to all the
user profiles.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Suresh Gupta
Sent: Thursday, August 27, 2009 12:19 AM
To: java400-l@xxxxxxxxxxxx
Subject: Checking the validity of AS400 login details

Hi List,



I am very happy to meet you all today. I need some suggestion and
advice from for the following query.

I am using JT400.jar package to get JDBC connectivity using java
programming.  I have a small application which is using Java/html
languages with LOGIN SCREEN. Now, I need to validate the AS400 user ID
and password to enter into the application. As per our internal
discussions with tour team, we thought that all the entities in AS400
can be treated as an object. So, we need to get the user profile
document in the AS400 as an object and validate them, using JT400.jar.
For your information, the userid/pwd of AS400 users are not stored on
database. We need to validate from the profile file of AS400.



Can you please suggest us, whether this can be done or not and is it
possible to get the user profile object from Java.



Regards,
G. V. Suresh Gupta

 _____

Zensar Technologies

--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email:
JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email:
JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.