You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by jf...@apache.org on 2004/09/20 06:14:56 UTC

cvs commit: jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/spi/impl DefaultCredentialHandler.java

jford       2004/09/19 21:14:56

  Modified:    components/security/src/java/org/apache/jetspeed/security/spi/impl
                        DefaultCredentialHandler.java
  Log:
  Fixed Login portlet.
  
  DLS:  Need to fix logic or remove.  I'm not sure what the intent is.
  
  Revision  Changes    Path
  1.2       +4 -2      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultCredentialHandler.java	18 Sep 2004 19:34:36 -0000	1.1
  +++ DefaultCredentialHandler.java	20 Sep 2004 04:14:56 -0000	1.2
  @@ -115,8 +115,10 @@
                   if (credential.getType() == type)
                   {
                       // PasswordCredential support.
  -                    if ((null != credential.getClassname())
  -                            && (credential.getClassname().equals((PasswordCredential.class).getName())))
  +                    //Commenting out to fix LoginPortlet
  +                    //DLS:  please verify this logic...  It's failing currently.
  +                    //if ((null != credential.getClassname())
  +                      //      && (credential.getClassname().equals((PasswordCredential.class).getName())))
                       {
                           PasswordCredential pwdCred = new PasswordCredential(username, credential.getValue()
                                   .toCharArray());
  
  
  

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