|
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 +---
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.