geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akulshresh...@apache.org
Subject svn commit: r479880 - in /geronimo/server/trunk: modules/geronimo-security/src/main/java/org/apache/geronimo/security/ContextManager.java pom.xml
Date Tue, 28 Nov 2006 03:45:44 GMT
Author: akulshreshtha
Date: Mon Nov 27 19:45:44 2006
New Revision: 479880

URL: http://svn.apache.org/viewvc?view=rev&rev=479880
Log:
Set <source> and <target> for maven-compiler-plugin to 1.5

Modified:
    geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/ContextManager.java
    geronimo/server/trunk/pom.xml

Modified: geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/ContextManager.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/ContextManager.java?view=diff&rev=479880&r1=479879&r2=479880
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/ContextManager.java
(original)
+++ geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/ContextManager.java
Mon Nov 27 19:45:44 2006
@@ -253,7 +253,7 @@
         Context context = new Context();
         context.subject = subject;
         context.context = acc;
-        Set principals = subject.getPrincipals(GeronimoCallerPrincipal.class);
+        Set principals = subject.getPrincipals((Class)GeronimoCallerPrincipal.class);
         if (!principals.isEmpty()) {
             context.principal = (Principal) principals.iterator().next();
         } else if (!(principals = subject.getPrincipals(PrimaryRealmPrincipal.class)).isEmpty())
{

Modified: geronimo/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?view=diff&rev=479880&r1=479879&r2=479880
==============================================================================
--- geronimo/server/trunk/pom.xml (original)
+++ geronimo/server/trunk/pom.xml Mon Nov 27 19:45:44 2006
@@ -1166,8 +1166,8 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                    <source>1.4</source>
-                    <target>1.4</target>
+                    <source>1.5</source>
+                    <target>1.5</target>
                 </configuration>
             </plugin>
 



Mime
View raw message