Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

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...

About

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

Resources

License

Releases

No releases published

Packages

No packages published

Languages