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 DefaultPasswordCredentialProvider.java
Date Thu, 03 Feb 2005 01:19:55 GMT
ate         2005/02/02 17:19:55

  Modified:    components/security/src/java/org/apache/jetspeed/security/spi/impl
                        DefaultPasswordCredentialProvider.java
  Log:
  Removed obsolete methods
  
  Revision  Changes    Path
  1.4       +1 -39     jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultPasswordCredentialProvider.java
  
  Index: DefaultPasswordCredentialProvider.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/spi/impl/DefaultPasswordCredentialProvider.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultPasswordCredentialProvider.java	25 Nov 2004 02:25:57 -0000	1.3
  +++ DefaultPasswordCredentialProvider.java	3 Feb 2005 01:19:55 -0000	1.4
  @@ -70,44 +70,6 @@
       }
   
       /**
  -     * @see org.apache.jetspeed.security.spi.PasswordCredentialProvider#postLoadInternalCredential(java.lang.String,
org.apache.jetspeed.security.om.InternalCredential)
  -     */
  -    public boolean postLoadInternalCredential(String userName, InternalCredential credential)
throws SecurityException
  -    {
  -        boolean updated = false;
  -        if (!credential.isEncoded() && getEncoder() != null)
  -        {
  -            if ( getValidator() != null)
  -            {
  -                getValidator().validate(credential.getValue());
  -            }            
  -            credential.setValue(getEncoder().encode(userName,credential.getValue()));
  -            credential.setEncoded(true);
  -            updated = true;
  -        }
  -        return updated;
  -    }
  -    
  -    /**
  -     * @see org.apache.jetspeed.security.spi.PasswordCredentialProvider#postLoadInternalCredential(java.lang.String,
org.apache.jetspeed.security.om.InternalCredential)
  -     */
  -    public boolean postAuthenticateInternalCredential(String userName, InternalCredential
credential) throws SecurityException
  -    {
  -        boolean updated = false;
  -        if (!credential.isEncoded() && getEncoder() != null)
  -        {
  -            if ( getValidator() != null)
  -            {
  -                getValidator().validate(credential.getValue());
  -            }            
  -            credential.setValue(getEncoder().encode(userName,credential.getValue()));
  -            credential.setEncoded(true);
  -            updated = true;
  -        }
  -        return updated;
  -    }
  -    
  -    /**
        * @see org.apache.jetspeed.security.spi.PasswordCredentialProvider#create(java.lang.String,
java.lang.String)
        */
       public PasswordCredential create(String userName, String password) throws SecurityException
  
  
  

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


Mime
View raw message