How to conrfig and run Spring Security 3 tutorial under Myeclipse8
2011-01-31 16:13
375 查看
Spring security is one of the security framework under JavaEE platform, Here are the steps to guide how to configure and run the tutorial inside "spring-security-3.0.2.RELEASE". Before starting, you need know how to develop spring under myEclipse.
Step 1, Navigate to Myeclipse JavaEE Pespective.
Step 2. Create a new Web Project "springsecurity".
Step 3. Add Spring Capacibility.
Step 4, Import Spring Security libs, spring-security-config-3.0.2.RELEASE.jar
and spring-security-core-3.0.2.RELEASE.jar
are required.
Step 5, Uncompress spring-security-samples-contacts-3.0.2.RELEASE.war
and copy the files into the web project. Please keep the same structor.
Step 6, Uncompress
spring-security-samples-tutorial-3.0.2.RELEASE-sources.jar
and copy all the files into src folder.
Step 7, if there is no log4j.properties file existing in the src folder, please create it !
The final project structor looks like this,
Step 8, deploy the project under such web containers as tomcat and ask htttp://localhost:8080/springsecurity/
If you can see the screen like below.
Congratulations! You can run spring tutorial in your locla successfully!
Step 1, Navigate to Myeclipse JavaEE Pespective.
Step 2. Create a new Web Project "springsecurity".
Step 3. Add Spring Capacibility.
Step 4, Import Spring Security libs, spring-security-config-3.0.2.RELEASE.jar
and spring-security-core-3.0.2.RELEASE.jar
are required.
Step 5, Uncompress spring-security-samples-contacts-3.0.2.RELEASE.war
and copy the files into the web project. Please keep the same structor.
Step 6, Uncompress
spring-security-samples-tutorial-3.0.2.RELEASE-sources.jar
and copy all the files into src folder.
Step 7, if there is no log4j.properties file existing in the src folder, please create it !
The final project structor looks like this,
Step 8, deploy the project under such web containers as tomcat and ask htttp://localhost:8080/springsecurity/
If you can see the screen like below.
Congratulations! You can run spring tutorial in your locla successfully!
相关文章推荐
- [spring Boot] how to package and run Spring Boot application as a JAR file
- How to setup multiple data sources with Spring and JPA
- How-To : Using EJB 3.0 and Java Persistence API with Spring in OC4J
- How to build and run ARM Linux on QEMU from scratch
- How Improved Short-Circuit Local Reads Bring Better Performance and Security to Hadoop
- How to build and run ARM Linux on QEMU from scratch
- How to install and run Microsoft Windows for free on Linux
- Please read "Security" section of the manual to find out how to run mysqld as root!错误解决
- How to Build and Run Android NDK Examples?
- Java: How to compile and run Java application in command line(在命令行中编译运行java程序)
- mysql多实例配置下,用脚本启动mysql时,出现Please read "Security" section of the manual to find out how to run mysqld as root!
- How to install and run keras on GPU
- 【转载】How to build and run your first deep learning network
- How to provide username and password when run "git clone git@remote.git"? - Stack Overflow
- How to Install and Run Network S…
- 【转载】How to build and run your first deep learning network
- How to Run and View a Listener Trace
- SharePoint 2007 - /_layouts and how to create pages that run in site context
- How to compile and run a simple java file in jenkins on Windows
- How to Configure and Run PostgreSQL on Solaris 10