User: user57  
  Date: 01/07/31 22:11:01

  Modified:    src/main/org/jboss/resource/security Tag: jboss_buildmagic
                        ManyToOnePrincipalMapping.java
  Log:
   o updated from HEAD
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.6.1 +3 -3      
jbosscx/src/main/org/jboss/resource/security/ManyToOnePrincipalMapping.java
  
  Index: ManyToOnePrincipalMapping.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosscx/src/main/org/jboss/resource/security/ManyToOnePrincipalMapping.java,v
  retrieving revision 1.1.1.1
  retrieving revision 1.1.1.1.6.1
  diff -u -r1.1.1.1 -r1.1.1.1.6.1
  --- ManyToOnePrincipalMapping.java    2001/02/06 06:54:41     1.1.1.1
  +++ ManyToOnePrincipalMapping.java    2001/08/01 05:11:01     1.1.1.1.6.1
  @@ -30,7 +30,7 @@
    *
    *   @see org.jboss.resource.ConnectionManagerImpl
    *   @author Toby Allsopp ([EMAIL PROTECTED])
  - *   @version $Revision: 1.1.1.1 $
  + *   @version $Revision: 1.1.1.1.6.1 $
    */
   public class ManyToOnePrincipalMapping
      extends PrincipalMappingSupport
  @@ -61,7 +61,7 @@
         Subject subject = new Subject();
         subject.getPrincipals().add(resourcePrincipal);
   
  -      if (metadata.getAuthMechType().equals("basic-password"))
  +      if (metadata.getAuthMechType().equals("BasicPassword"))
         {
            // The spec says that we need a new instance of this every
            // time, because it is specific to a managed connection
  @@ -74,7 +74,7 @@
         }
         else
         {
  -         throw new RuntimeException("Unsupported auth-mech-type: '" +
  +         throw new RuntimeException("Unsupported authentication-mechanism-type: '" +
                                       metadata.getAuthMechType() + "'");
         }
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to