|
Hi Dave Thanks for ur input and infact yesterday i was trying the same thing, using the Password Expiration Date. A came across a very strange when i used that. For a particular profile on AS400 i set the Password Expiration Interval to 2 (in days). Then i run my Java Applcation to get the password expiration date. As the method getPasswordExpirationDate() returns a Gregarion Calender Object. Now i tried getting the Date object out of this calender object using calender.getTime() function. Remembering that i run the code on Monday which was April 23th, 2001 and Password Expiration Interval was set to 2 days. So i was expecting a date of 25th April, 2001....Intstead it gave me 25th May 2001 which was pretty strange. Do u have any ideas? Thanks Niranjan >From: "Dave Wall" <dawall@us.ibm.com> >Reply-To: JAVA400-L@midrange.com >To: JAVA400-L@midrange.com >Subject: Re: Catching Password Expiration on AS400 with tool box >Date: Mon, 23 Apr 2001 20:07:48 -0500 > > >Sorry, I cannot think of anything other than catching the exception from >connect service or validate signon. The only possible alternative is >getPasswordExpirationDate on the AS400 object. Using this date you can >warn your users that the password is about to expire. If users do not heed >the warning the password can still expire. > >David Wall >AS/400 Toolbox for Java > > >"niranjan soni" <niranjan_soni@hotmail.com>@midrange.com on 04/21/2001 >03:33:05 PM > >Please respond to JAVA400-L@midrange.com > >Sent by: owner-java400-l@midrange.com > > >To: JAVA400-L@midrange.com >cc: >Subject: Catching Password Expiration on AS400 with tool box > > > >Hi > >I have this problem in which the password on my AS400 is set to expire with >certain no of days. Now when i log in to AS400 from my servlet and validate >the User Id and password. I have to check for this password expiration >condition and throw the User a screen on which he can input the new >password >and confirm it which then would get update for the UserId in AS400 for that >User's profile. > >I was looking for any method or exception from validateSignOn method in >AS400 ToolBox classes from where i can trap this condition and do my >processing. I didn't find any specific method which handles these >conditions. > >Can any one tell me how i can go about it?? > >Thanks >Niranjan > >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >+--- >| This is the JAVA/400 Mailing List! >| To submit a new message, send your mail to JAVA400-L@midrange.com. >| To subscribe to this list send email to JAVA400-L-SUB@midrange.com. >| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner: joe@zappie.net >+--- > > > >+--- >| This is the JAVA/400 Mailing List! >| To submit a new message, send your mail to JAVA400-L@midrange.com. >| To subscribe to this list send email to JAVA400-L-SUB@midrange.com. >| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner: joe@zappie.net >+--- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
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.