Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http://stackoverflow.com/questions/18365960/spring-security-java-configuration-with-data-source #3

Closed
wants to merge 1 commit into from

Conversation

mdeinum
Copy link

@mdeinum mdeinum commented Aug 22, 2013

  • Extracted configuration into multiple classes (seperating web and root...
  • Added WebApplicationInitializer for security and update the one for the application.
  • Removed web.xml (no need anymore)
  • Removed spring-security.xml configuration
  • Fixed Spring Framework and Spring Security Versions

…oot configuration)

- Added WebApplicationInitializer for security and update the one for the application.
- Removed web.xml (no need anymore)
- Removed spring-security.xml configuration
- Fixed Spring Framework and Spring Security Versions
@mdeinum
Copy link
Author

mdeinum commented Aug 22, 2013

Just noticed a minor glitch, due to the removal of the web.xml the maven build fails. Add the maven-war-plug and configure it to ignore the missing web.xml.

<build>
    <finalName>security-spr</finalName>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <version>2.4</version>
            <configuration>
                <failOnMissingWebXml>false</failOnMissingWebXml>
            </configuration>
        </plugin>
    </plugins>
</build>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants