Instead of writing your own java class, you could set up a password policy in your directory server to expire passwords after a year. If your users are being stored in WindchillDS, then you can find instructions to set up the password policy in the WHC. The below link contains instructions for both configuring a password policy and setting up notification emails to users when their passwords are about to expire:
↧