Git Product home page Git Product logo

spanners's Introduction

Build Status

spanners

Spanners demo application from Don't Panic: http://www.disasterarea.co.uk/blog/

Demonstration code for concepts covered in Don't Panic - Stuart 'Stevie' Leitch's blog on Software Development, Java Technologies, Security and Testing.

Examples include:

  • Java / Spring based web application development in Spring MVC
  • RESTful API with Spring Data REST
  • Spring Boot
  • Maven
  • Web Application Security
  • Unit / integration testing

Technologies covered in previous versions:

  • Struts
  • Hibernate 5
  • SOAP / Spring-WS
  • SAML federated sign in
  • Node.js and Websocket push notification
  • Angular 2

spanners's People

Contributors

hotblac avatar

Stargazers

Ahmar Khan avatar  avatar Andrii Popov avatar Venkata Sri Harsha P avatar Miro Kubicek avatar Rakesh Bhat avatar Rajib Ghosh avatar Marcio Bernardo avatar  avatar  avatar Klaus UNGER avatar Lesly Arun Franco avatar  avatar Riaz Ahmed avatar Deepak Pandey avatar  avatar  avatar Sendhil Chokkalingam avatar  avatar

Watchers

James Cloos avatar Sendhil Chokkalingam avatar  avatar Luke Dutton avatar  avatar

spanners's Issues

I can't find the custom permission evaluator

Your configuration references a custom permission evaluator, but it seems to be missing. The class is: org.dontpanic.spanners.security.SpannerPermissionEvaluator

What am I missing?

Uses Known Vulnerable Components

The spanners project currently uses 15 libraries with known vulnerabilities, you may want to update the dependencies to the latest version.
screen shot 2014-06-14 at 10 49 25 pm

You can track vulnerable components and keep your project up-to-date by using SourceClear

Spanners Spring-WS Demo Application compilation failure

Hi all,
when I try to execute mvn clean install I get the following error:

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Spanners Spring-WS Demo Application 2.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spanners demo applications ........................ SUCCESS [0.347s]
[INFO] Spanners database module .......................... SUCCESS [5.035s]
[INFO] Spanners Spring-WS Demo Application ............... FAILURE [0.220s]
[INFO] Spanners Struts Demo Application .................. SKIPPED
[INFO] Spanners Spring MVC Demo Application .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.800s
[INFO] Finished at: Wed Jul 16 19:02:06 CEST 2014
[INFO] Final Memory: 21M/231M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spanners-ws: Could not resolve dependencies for project org.dontpanic:spanners-ws:war:2.7-SNAPSHOT: Failure to find javax.activation:activation:jar:1.0.2 in http://maven.springframework.org/milestone was cached in the local repository, resolution will not be reattempted until the update interval of com.springsource.repository.maven.milestone has elapsed or updates are forced

Can anyone help me ?

Unrestricted privilege

Greetings,

We are researchers and we are looking for insecure coding patterns and configurations in the microservice architecture repositories. In your repository, we have found instances of usage of excessive privileges. CWE says "An attacker will be able to gain access to any resources that are allowed by the extra privileges. Common results include executing code, disabling services, and reading restricted data."

Hopefully, you agree and will fix it. We suggest you restrict certain privileges for a single user, instead of allocating all privileges.

Source:

GRANT ALL PRIVILEGES ON spanners.* TO "spanners"@"localhost" IDENTIFIED BY "password";

Possible security issue: hard-coded password

Greetings,

We are security researchers and we are looking for insecure coding patterns and configurations in the microservice architecture repositories. In your repository, we have found instances of hard-coded passwords. According to CWE, "A hard-coded password typically leads to a significant authentication failure that can be difficult for the system administrator to detect."

Hopefully, you agree and will fix it.

Source: https://github.com/hotblac/spanners/blob/master/spanners-users/src/main/resources/application.properties

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.