Skip to content
RESTful Web Services using Apache Shiro 1.2.3, JBoss RestEasy 3 and Google Guice 3 with Asynchronous HTTP Request Processing support.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

shiro-guice-async-webapp

Build Status

Sample Project for building RESTful Web Services using Apache Shiro 1.2.3, JBoss RestEasy 3 and Google Guice 3 with Asynchronous HTTP Request Processing support.

Dependencies included

Requirements

  • Java 8
  • Maven 3
  • Application Server (Tomcat 9(?), Jetty 9 Recommended)

Building

  • Make the war file mvn clean package
  • Deploy the war file in Tomcat with Eclipse or manually

After Deploy on Application Server

  • The REST WS are accessible under /*
  • Front-End not yet implemented.

Run with Jetty

Creating a Local Maven Archetype

  • Generate an archetype: mvn archetype:create-from-project
  • Go to target/generated-sources/archetype and run mvn install
  • Create a fresh project from Archetype mvn archetype:generate -DarchetypeCatalog=local using com.pampanet:shiro-guice-async-webapp
  • You can select the archetype from Eclipse IDE from the "New Maven Project" Wizard

Apache Shiro Filters

  • Shiro's Default Filters: http://shiro.apache.org/web.html#Web-DefaultFilters
  • In com.pampanet.sample.shiro.modules.BootstrapShiroModule are all the filters, placed in order.
  • You can replace com.pampanet.sample.shiro.modules.ShiroAnnotationsModule with Shiro's default ShiroAopModule class.

Apache Shiro Users Configuration

Current Code Coverage

Coverage Status

Next steps

  • Servlet 4 Push API
  • Wiki
  • More Code Coverage
  • More stuff...
You can’t perform that action at this time.