Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring security substitute for Node.js

Is there a substitute for spring security in Node.js. I know of express and passport, but passport provides authentication only. It does not feature "forgot password", "reset password" or crud operations for User and Role.

In other words, passport lacks of a number of commonly used features that are provided by spring security. Is there any Node.js library that provides these features.

like image 475
Rammohan Avatar asked Mar 12 '15 18:03

Rammohan


People also ask

Can NodeJs replace spring boot?

If you want your application to do a large amount of computing such as in Big Data, eCommerce or IoT, then it is better to go the Spring Boot way. However, wherever applications need a lot of I/O, such as in media apps, booking systems, and finance technology apps, Node. js is a better choice.

Is spring better than NodeJs?

We declare both the technologies as a winner. If your application requires a lot of Input/Output tasks, then you should go with NodeJS App Development and if you require a tough, secure and standalone application that requires intensive CPU usage, then you should go for Spring Boot Development.

Is Node JS good for security?

Node. js is one such technology that developers use for web application development. It is designed to be completely secure.

Which is best node js or spring boot?

If I'm building an application that depends on a ton of I/O (FinTech, booking systems, media apps, etc.), I'll use Node. js. But if I need my application to do a crazy amount of computing (IoT, ecommerce platforms, Big Data), you better believe I'm going with Spring Boot.


2 Answers

https://auth0.com

https://stormpath.com

and tons of others. Just google "User Managment" node.js

Or at the end of the day write you own. Writing user management is sails takes about an hour and they have integration with things like Mandril for sending forgotten notices.

like image 112
Meeker Avatar answered Oct 10 '22 12:10

Meeker


I know it's already mentioned in the question but for anyone else brand new to Node coming here from google and skipping right to the answers like I did:

http://www.passportjs.org

Looks like the most widely used free library that is somewhat comparable to Spring Security, although as the original question points out it is only focused on authentication so it doesn't cover every feature Spring Security has (like role based authorization).

like image 40
KPD Avatar answered Oct 10 '22 12:10

KPD