User: jwalters
Date: 01/07/18 07:36:05
Modified: src/main/org/jboss/resource/security
ManyToOnePrincipalMapping.java
Log:
Completed update to pfd2, more changes to DTD.
Thanks to Tomasz Skutnik [EMAIL PROTECTED] for the patches.
Revision Changes Path
1.2 +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
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ManyToOnePrincipalMapping.java 2001/02/06 06:54:41 1.1
+++ ManyToOnePrincipalMapping.java 2001/07/18 14:36:05 1.2
@@ -30,7 +30,7 @@
*
* @see org.jboss.resource.ConnectionManagerImpl
* @author Toby Allsopp ([EMAIL PROTECTED])
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
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