Tomasz Skutnik wrote:
> I've submitted 3 patches on SourceForge that finish the job. Your CVS
> update was not complete (see description in patch no 1).
>
> Review and submitt if you please.
>
> --
>
> Tomasz Skutnik
> <[EMAIL PROTECTED]>
>
>
> ___
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
Sorry. I've had some problems submittin patches. Here there are.
Scooter
Only in jboss/jbosspool/: build
Only in jboss/jbosspool/: dist
diff -r -u --exclude=*CVS* jboss.orig/jbosspool/src/resources/jdbc-rar/META-INF/ra.xml
jboss/jbosspool/src/resources/jdbc-rar/META-INF/ra.xml
--- jboss.orig/jbosspool/src/resources/jdbc-rar/META-INF/ra.xml Wed Jul 18 04:52:40
2001
+++ jboss/jbosspool/src/resources/jdbc-rar/META-INF/ra.xml Wed Jul 18 09:37:08
+2001
@@ -72,10 +72,10 @@
Driver
java.lang.String
-
-basic-password
+
+
+BasicPassword
javax.resource.security.PasswordCredential
-
+
false
Only in jboss/jbosscx/: build
Only in jboss/jbosscx/: dist
diff -r -u --exclude=*CVS*
jboss.orig/jbosscx/src/main/org/jboss/resource/RARMetaData.java
jboss/jbosscx/src/main/org/jboss/resource/RARMetaData.java
--- jboss.orig/jbosscx/src/main/org/jboss/resource/RARMetaData.java Wed Jul 18
04:53:51 2001
+++ jboss/jbosscx/src/main/org/jboss/resource/RARMetaData.java Wed Jul 18 09:12:40
+2001
@@ -345,12 +345,12 @@
log.warning("Loading "+getElementContent(element).trim());
}
- private void setAuthMechanism(Element element) throws DeploymentException
+ private void setAuthenticationMechanism(Element element) throws DeploymentException
{
invokeChildren(element);
}
- private void setAuthMechType(Element element) throws DeploymentException
+ private void setAuthenticationMechanismType(Element element) throws
+DeploymentException
{
authMechType = getElementContent(element);
}
diff -r -u --exclude=*CVS*
jboss.orig/jbosscx/src/main/org/jboss/resource/security/ManyToOnePrincipalMapping.java
jboss/jbosscx/src/main/org/jboss/resource/security/ManyToOnePrincipalMapping.java
---
jboss.orig/jbosscx/src/main/org/jboss/resource/security/ManyToOnePrincipalMapping.java
Tue Feb 6 07:54:41 2001
+++ jboss/jbosscx/src/main/org/jboss/resource/security/ManyToOnePrincipalMapping.java
+ Wed Jul 18 13:41:41 2001
@@ -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() + "'");
}
diff -r -u --exclude=*CVS*
jboss.orig/jboss/src/resources/org/jboss/jms/ra/META-INF/ra.xml
jboss/jboss/src/resources/org/jboss/jms/ra/META-INF/ra.xml
--- jboss.orig/jboss/src/resources/org/jboss/jms/ra/META-INF/ra.xml Wed Jul 18
05:01:52 2001
+++ jboss/jboss/src/resources/org/jboss/jms/ra/META-INF/ra.xml Wed Jul 18 09:17:41
+2001
@@ -18,10 +18,10 @@
java.lang.String
java:DefaultJMSProvider
-
-basic-password
+
+
+BasicPassword
javax.resource.security.PasswordCredential
-
+
false
diff -r -u --exclude=*CVS*
jboss.orig/jboss/src/resources/org/jboss/metadata/connector_1_0.dtd
jboss/jboss/src/resources/org/jboss/metadata/connector_1_0.dtd
--- jboss.orig/jboss/src/resources/org/jboss/metadata/connector_1_0.dtd Fri Feb 2
11:12:48 2001
+++ jboss/jboss/src/resources/org/jboss/metadata/connector_1_0.dtd Wed Jul 18
+09:34:22 2001
@@ -101,7 +101,7 @@
one or more authentication mechanisms supported and additional
required security permissions.
-If there is no auth-mechanism specified as part of resource adapter
+If there is no authentication-mechanism specified as part of resource adapter
element then the resource adapter does not support any standard
security authentication mechanisms as part of security contract.
The application server ignores the security part of the system
@@ -112,22 +112,22 @@
managedconnectionfactory-class, connectionfactory-interface,
connectionfactory-impl-class, connection-interface,
connection-impl-class, transaction-support, config-property*,
-auth-mechanism*, reauthentication-support, security-permission*
+authentication-mechanism*, reauthentication-support, security-permission*
)>
-