Skip to content

Commit

Permalink
Updated security and upgrade maven pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin A. Lee committed Nov 21, 2011
1 parent f2b30ab commit 65266c3
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .classpath
Expand Up @@ -5,7 +5,7 @@
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
Expand Down
4 changes: 2 additions & 2 deletions .project
Expand Up @@ -26,7 +26,7 @@
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
Expand All @@ -36,8 +36,8 @@
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
35 changes: 35 additions & 0 deletions pom.xml
Expand Up @@ -414,5 +414,40 @@
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
hibernate3-maven-plugin
</artifactId>
<versionRange>
[2.2,)
</versionRange>
<goals>
<goal>hbm2ddl</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
10 changes: 0 additions & 10 deletions src/main/resources/META-INF/spring/security.xml
Expand Up @@ -6,16 +6,6 @@
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd">

<http use-expressions="true">
<!-- Authentication policy -->
<intercept-url pattern="/" access="permitAll"/>
<intercept-url pattern="/resources/**" filters="none" />
<intercept-url pattern="/styles/**" filters="none" />
<intercept-url pattern="/styles/PIE.htc" filters="none" />
<intercept-url pattern="/vehicles/**" access="isAuthenticated()" />
<intercept-url pattern="/cards/**" access="isAuthenticated()" />
<intercept-url pattern="/statements/**" access="isAuthenticated()" />
<intercept-url pattern="/users/**" access="isAuthenticated()" />
<intercept-url pattern="/account" access="isAuthenticated()" />
<form-login login-page="/login" login-processing-url="/login/authenticate"
default-target-url="/account" authentication-failure-url="/login?login_error=1" />
<logout logout-url="/logout" logout-success-url="/" />
Expand Down

0 comments on commit 65266c3

Please sign in to comment.