My bad...  I thought expire days, when set to -1 on the Java side, would
hold true when logging in through client access.

Thanks,
Chad


-----Original Message-----
From: Patrick L Archibald [mailto:Patrick.Archibald@xxxxxxxxxxxxx] 
Sent: Thursday, June 10, 2004 2:05 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: AS/400 Signon Validation

You are not modifying a system value. Just put that line before you 
connect to the AS/400 to validate the password and it should stop the 
"Password will expire..." prompt from appearing.

Thanx, PLA



cornelius, chad wrote:

>Thanks Pat...  Is there any other way to do this without modifying the
>system value?
>
>Thanks,
>Chad
>
>
>-----Original Message-----
>From: Patrick L Archibald [mailto:Patrick.Archibald@xxxxxxxxxxxxx] 
>Sent: Thursday, June 10, 2004 1:39 PM
>To: Java Programming on and around the iSeries / AS400
>Subject: Re: AS/400 Signon Validation
>
>AS400.setPasswordExpirationWarningDays(-1);
>
>Thanx, PLA
>
>
>cornelius, chad wrote:
>
>  
>
>>We are validating our internal users' against the AS/400 using JSP's.  If
a
>>user's sign-on is set to expire in six days or less, a java console
appears
>>informing them that their password will expire in x amount of days.  You
>>must press the "Yes" or "No" button if you would like to change your
>>password.  Does anyone know how you can respond to this message without
the
>>console appearing?  I am using the JT400Native API.
>>
>>
>>
>>Thanks,
>>
>>Chad
>>
>>
>>
>>--
>>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.
>
>
>
>  
>
--
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 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.