[jboss-cvs] JBossAS SVN: r65080 - in trunk/server/src/main/org/jboss: ejb and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Sep 5 06:48:35 EDT 2007


Author: alesj
Date: 2007-09-05 06:48:35 -0400 (Wed, 05 Sep 2007)
New Revision: 65080

Modified:
   trunk/server/src/main/org/jboss/deployment/JBossAppParsingDeployer.java
   trunk/server/src/main/org/jboss/ejb/EjbModule.java
   trunk/server/src/main/org/jboss/ejb/deployers/EjbDeployer.java
Log:
Typo.
Could use constants. ;-)

Modified: trunk/server/src/main/org/jboss/deployment/JBossAppParsingDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/JBossAppParsingDeployer.java	2007-09-05 10:21:34 UTC (rev 65079)
+++ trunk/server/src/main/org/jboss/deployment/JBossAppParsingDeployer.java	2007-09-05 10:48:35 UTC (rev 65080)
@@ -174,7 +174,7 @@
          unit.addAttachment("EAR.callByValue", Boolean.TRUE, Boolean.class);
       //Pass the unauthenticated identity
       if (this.unauthenticatedIdentity != null)
-         unit.addAttachment("EAR.uauthenticatedIdentity", this.unauthenticatedIdentity, String.class);
+         unit.addAttachment("EAR.unauthenticatedIdentity", this.unauthenticatedIdentity, String.class);
    }
 
    /** Build the ear scoped repository

Modified: trunk/server/src/main/org/jboss/ejb/EjbModule.java
===================================================================
--- trunk/server/src/main/org/jboss/ejb/EjbModule.java	2007-09-05 10:21:34 UTC (rev 65079)
+++ trunk/server/src/main/org/jboss/ejb/EjbModule.java	2007-09-05 10:48:35 UTC (rev 65080)
@@ -184,9 +184,9 @@
       //Set the unauthenticated identity on the metadata if absent
       if(metaData.getUnauthenticatedPrincipal() == null)
       {
-         String unauthenticatedPrincipal = unit.getAttachment("EJB.uauthenticatedIdentity", String.class);
+         String unauthenticatedPrincipal = unit.getAttachment("EJB.unauthenticatedIdentity", String.class);
          if(unauthenticatedPrincipal == null)
-            unauthenticatedPrincipal = unit.getAttachment("EAR.uauthenticatedIdentity", String.class);
+            unauthenticatedPrincipal = unit.getAttachment("EAR.unauthenticatedIdentity", String.class);
          metaData.setUnauthenticatedPrincipal(unauthenticatedPrincipal);
       }
       // Add the ApplicationMetaData for the jbossws ejb21 deployer to pickup later

Modified: trunk/server/src/main/org/jboss/ejb/deployers/EjbDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/ejb/deployers/EjbDeployer.java	2007-09-05 10:21:34 UTC (rev 65079)
+++ trunk/server/src/main/org/jboss/ejb/deployers/EjbDeployer.java	2007-09-05 10:48:35 UTC (rev 65080)
@@ -273,7 +273,7 @@
          unit.addAttachment("EJB.callByValue", Boolean.TRUE, Boolean.class);
       //Pass the unauthenticated identity
       if(this.unauthenticatedIdentity != null)
-         unit.addAttachment("EJB.uauthenticatedIdentity", this.unauthenticatedIdentity, String.class);
+         unit.addAttachment("EJB.unauthenticatedIdentity", this.unauthenticatedIdentity, String.class);
    }
 
    @Override




More information about the jboss-cvs-commits mailing list