[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jbosssx/src/main/org/jboss/security/propertyeditor  ...
From:       Scott Stark <scott.stark () jboss ! com>
Date:       2005-05-31 23:42:09
Message-ID: E1DdGN7-00053u-VF () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]

  User: starksm 
  Date: 05/05/31 19:42:09

  Modified:    src/main/org/jboss/security/propertyeditor  Tag: Branch_4_0
                        SecurityDomainEditor.java
  Log:
  Explicitly pass in a null Subject to make it clear we don't need a subject after \
the authentication call.  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +3 -4      \
jbosssx/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.java  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SecurityDomainEditor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -b -r1.1 -r1.1.2.1
  --- SecurityDomainEditor.java	23 Oct 2004 03:47:24 -0000	1.1
  +++ SecurityDomainEditor.java	31 May 2005 23:42:09 -0000	1.1.2.1
  @@ -1,5 +1,5 @@
   /*
  - * JBoss, the OpenSource WebOS
  + * JBoss, Home of Professional Open Source
    *
    * Distributable under LGPL license.
    * See terms of license at gnu.org.
  @@ -31,7 +31,7 @@
    * first method invocation against the proxy.
    *
    * @author Scott.Stark@jboss.org
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.1.2.1 $
    */
   public class SecurityDomainEditor
      extends PropertyEditorSupport
  @@ -142,8 +142,7 @@
   
         public boolean isValid(Principal principal, Object credential)
         {
  -         initDelegate();
  -         return delegate.isValid(principal, credential);
  +         return this.isValid(principal, credential, null);
         }
   
         public boolean isValid(Principal principal, Object credential,
  
  
  


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic