shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kao...@apache.org
Subject svn commit: r919283 - in /incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring: DefaultSampleManager.java ui/WebStartView.java
Date Fri, 05 Mar 2010 04:54:01 GMT
Author: kaosko
Date: Fri Mar  5 04:54:00 2010
New Revision: 919283

URL: http://svn.apache.org/viewvc?rev=919283&view=rev
Log:
IN PROGRESS - issue SHIRO-89: Sample Spring Application - WebStart won't launch 
http://issues.apache.org/jira/browse/SHIRO-89
- Remove DefaultSampleManager from this module and reference to it from WebStartView - the
implementation is only needed on the server side

Removed:
    incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring/DefaultSampleManager.java
Modified:
    incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring/ui/WebStartView.java

Modified: incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring/ui/WebStartView.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring/ui/WebStartView.java?rev=919283&r1=919282&r2=919283&view=diff
==============================================================================
--- incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring/ui/WebStartView.java
(original)
+++ incubator/shiro/trunk/samples/spring-client/src/main/java/org/apache/shiro/samples/spring/ui/WebStartView.java
Fri Mar  5 04:54:00 2010
@@ -29,7 +29,6 @@
 import org.springframework.core.io.ClassPathResource;
 
 import org.apache.shiro.authz.AuthorizationException;
-import org.apache.shiro.samples.spring.DefaultSampleManager;
 import org.apache.shiro.samples.spring.SampleManager;
 
 
@@ -157,12 +156,4 @@
             JOptionPane.showMessageDialog(frame, "Unauthorized to perform action: " + ae.getMessage(),
"Unauthorized", JOptionPane.WARNING_MESSAGE);
         }
     }
-
-    public static void main(String[] args) throws Exception {
-        WebStartView test = new WebStartView();
-        test.setSampleManager(new DefaultSampleManager());
-        test.afterPropertiesSet();
-    }
-
-
 }



Mime
View raw message