Giter VIP home page Giter VIP logo

securitywebsocketangular2's Introduction

Please, take into account that this project was developed in 2016, so the versions used and the procedure to address this may be obsolete

SecurityWebsocketAngular2

This is a small web demo using Spring Boot + Spring Security for authentication + Websocket + Angular2, I'm using it for playing and learning how Angular2 works (I'm importing Angular2 from a CND at index.html).

So far, there's a authentication process made with Spring Security and a Websocket that returns a counter each 5 seconds and prints it in the user's private area.

Getting Started

Prerequisities

You only need:

* Java 1.8
* Maven

Running it!

  • Run ServerRunner for set up the Endpoint
  • Access to: http://localhost:9090/ and sign in with user/1234, you can access to the user's private area and see the websocket counter

securitywebsocketangular2's People

Contributors

martamedio avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

marc45

securitywebsocketangular2's Issues

do you consider add security and send messages to special user

Hi, this is a good example ..

recently ,i try to use websocket and angular2 , spring can send messages publish/subscribe,

but met problems with sending messages to special user.

Don't know if you will consider adding this feature? or give some suggestion

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.