svnno****@sourc*****
svnno****@sourc*****
2007年 4月 9日 (月) 08:43:32 JST
Revision: 29 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=29 Author: shinsuke Date: 2007-04-09 08:43:32 +0900 (Mon, 09 Apr 2007) Log Message: ----------- added if statement for PALAdminConstants.USER_CREDENTIAL_ACTIVE Modified Paths: -------------- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java -------------- next part -------------- Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java 2007-04-08 23:31:01 UTC (rev 28) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/logic/SecurityProviderLogic.java 2007-04-08 23:43:32 UTC (rev 29) @@ -530,6 +530,13 @@ // update expired if (!passwordSet && user.getExpires().equals( + PALAdminConstants.USER_CREDENTIAL_ACTIVE)) + { + //TODO is it correct? + userManager.setPasswordExpiration(user.getName(), null); + } + else if (!passwordSet + && user.getExpires().equals( PALAdminConstants.USER_CREDENTIAL_EXPIRED)) { java.sql.Date today = new java.sql.Date(Calendar