Przeglądaj źródła

Add project page

Rob Winch 12 lat temu
rodzic
commit
8281d5c33b
5 zmienionych plików z 121 dodań i 5 usunięć
  1. 7 5
      _config.yml
  2. 4 0
      _includes/build.gradle
  3. 24 0
      _includes/pom.xml
  4. BIN
      img/project-icon-large.png
  5. 86 0
      index.html

+ 7 - 5
_config.yml

@@ -10,21 +10,23 @@ redcarpet:
 ### The following properties will change on a project-by-project basis
 
 # Context path in the remote website (usually /<project>), will be prepended to absolute URLs for static resources
-baseurl: /gh-pages
+baseurl: /spring-security
 
 # Name of the project for display in places like page titles
-name: Spring Framework
+name: Spring Security
 
 # ID of the project in the metadata API at spring.io (if this is not a
 # valid project ID the javascript widgets in the home page will not work)
-project: spring-framework
+project: spring-security
 
 # Project github URL
-github_repo_url: http://github.com/spring-projects/spring-framework
+github_repo_url: http://github.com/spring-projects/spring-security
 
 # Project forum URL
-forum: http://forum.spring.io/forum/spring-projects/container
+forum: http://forum.spring.io/spring-projects/security
 
+# Custom properties
+guides_base_url: http://docs.spring.io/spring-security/site/docs/3.2.x/guides
 
 ### The following properties are constant for most projects
 

+ 4 - 0
_includes/build.gradle

@@ -0,0 +1,4 @@
+dependencies {
+    compile '{@= groupId @}:spring-security-web:{@= version @}'
+    compile '{@= groupId @}:spring-security-config:{@= version @}'
+}

+ 24 - 0
_includes/pom.xml

@@ -0,0 +1,24 @@
+<dependencies>
+    <dependency>
+        <groupId>{@= groupId @}</groupId>
+        <artifactId>spring-security-web</artifactId>
+        <version>{@= version @}</version>
+    </dependency>
+    <dependency>
+        <groupId>{@= groupId @}</groupId>
+        <artifactId>spring-security-config</artifactId>
+        <version>{@= version @}</version>
+    </dependency>
+</dependencies>
+{@ if (repository) { @}
+<repositories>
+    <repository>
+        <id>{@= repository.id @}</id>
+        <name>{@= repository.name @}</name>
+        <url>{@= repository.url @}</url>
+        <snapshots>
+            <enabled>{@= repository.snapshotsEnabled @}</enabled>
+        </snapshots>
+    </repository>
+</repositories>{@ } @}
+

BIN
img/project-icon-large.png


+ 86 - 0
index.html

@@ -0,0 +1,86 @@
+---
+# The name of your project
+title: Spring Security
+
+badges:
+
+  # Specify your project's twitter handle, if any. Delete if none.
+  twitter: SpringSecurity
+
+  # Customize your project's badges. Delete any entries that do not apply.
+  custom:
+    - name: Source (GitHub)
+      url:  https://github.com/spring-projects/spring-security
+      icon: github
+
+    - name: Issues (JIRA)
+      url:  http://jira.springsource.org/browse/SEC
+      icon: tracking
+
+    - name: CI (Bamboo)
+      url:  https://build.springsource.org/browse/SEC
+      icon: ci
+
+    - name: Forum
+      url:  http://forum.spring.io/forum/spring-projects/security
+      icon: forum
+
+    - name: StackOverflow
+      url:  http://stackoverflow.com/questions/tagged/spring-security
+      icon: stackoverflow
+
+    - name: Metrics (SonarQube)
+      url:  https://sonar.springsource.org/dashboard/index/org.springframework.security:spring-security
+      icon: metrics
+
+---
+<!DOCTYPE HTML>
+<html lang="en-US">
+
+{% capture billboard_description %}
+
+Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications.
+
+{% endcapture %}
+
+{% capture main_content %}
+
+Spring Security is a framework that focuses on providing both authentication and authorization to Java
+applications. Like all Spring projects, the real power of Spring Security is found in how easily it can
+be extended to meet custom requirements
+
+## Features
+
+* Comprehensive and extensible support for both Authentication and Authorization
+* Protection against attacks like session fixation, clickjacking, cross site request forgery, etc
+* Servlet API integration
+* Optional integration with Spring Web MVC
+* Much more...
+
+<span id="quick-start"></span>
+## Quick Start
+
+{% include download_widget.md %}
+
+{% endcapture %}
+
+{% capture related_resources %}
+
+### Getting Started Guides
+
+* [Hello Security]({{site.guides_base_url}}/helloworld.html)
+* [Hello MVC Security]({{site.guides_base_url}}/hellomvc.html)
+* [More...]({{site.guides_base_url}}/)
+
+### Related Projects
+
+* [Spring Security OAuth]({{site.projects_site_url}}/spring-security-oauth)
+* [Spring Security Grails](http://grails.org/plugin/spring-security-core)
+* [Spring Security SAML]({{site.projects_site_url}}/spring-security-saml)
+* [Spring Security Kerberos]({{site.projects_site_url}}/spring-security-kerberos)
+
+{% endcapture %}
+
+
+{% include project_page.html %}
+</html>