portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/spi/impl DefaultCredentialHandler.java
Date Sun, 24 Apr 2005 12:34:28 GMT
ate         2005/04/24 05:34:28

  Modified:    components/security/src/java/org/apache/jetspeed/security/spi/impl
                        DefaultCredentialHandler.java
  Log:
  Reset the authenticationFailures if a PasswordCredential is re-enabled
  
  Revision  Changes    Path
  1.15      +1 -0      jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java
  
  Index: DefaultCredentialHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultCredentialHandler.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DefaultCredentialHandler.java	7 Mar 2005 14:05:45 -0000	1.14
  +++ DefaultCredentialHandler.java	24 Apr 2005 12:34:28 -0000	1.15
  @@ -244,6 +244,7 @@
               if ( credential != null && !credential.isExpired() && credential.isEnabled()
!= enabled )
               {
                   credential.setEnabled(enabled);
  +                credential.setAuthenticationFailures(0);
                   internalUser.setModifiedDate(new Timestamp(new Date().getTime()));
                   securityAccess.setInternalUserPrincipal(internalUser, false);
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message