Security Top

I just announced the new Learn Spring Security course, including the full material focused on the new OAuth2 stack in Spring Security 5:

>> CHECK OUT THE COURSE

The Security with Spring tutorials focus, as you'd expect, on Spring Security.

Get started with the Registration series if you're interested in building a registration flow, and understanding some of the frameworks basics.

Then, explore the topics you're most interested in, related to security.

Finally, have a look at some of the more advanced topics, such as the OAuth support.

Core Spring Security

OAuth2 with Spring Security

Spring Security with REST

Other Spring Tutorials

The entire tutorial in based on this github project. Watch and fork it at will - the project can be used as a starting point for a more full fledged implementation.

Security bottom

I just announced the new Learn Spring Security course, including the full material focused on the new OAuth2 stack in Spring Security 5:

>> CHECK OUT THE COURSE
28 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
sonoerin
sonoerin
6 years ago

Thank you for the great tutorials Eugen, they really help me understand these topics better. I wonder if you consider putting a Spring Security tutorial for using custom roles? For example, instead of USER & ADMIN, what if I wanted a hierarchical approach with customer roles like this (top-down): ADMIN, OWNER, MANAGER, RECEPTIONIST, VISITOR.

I have seen old Spring Security code snippets about custom role names. But I have yet to see one that shows from configuration, to database seeding, to authentication.

Thanks again for the great help you provide.

Eugen Paraschiv
6 years ago
Reply to  sonoerin

Hey Sonoerin – yes, a more complex Role-Privilege model is actually implemented in my REST project on github. Thanks for the suggestion, I might write about that sometime soon. Cheers,
Eugen.

Enma
Enma
5 years ago

nice tutorial Eugen..but i wonder perhpas u got project on github about dynamic url for spring security..

joxers
joxers
5 years ago

how to create user management UI ?

Eugen Paraschiv
5 years ago
Reply to  joxers

Hey Joxers,
That’s something I do have on my TODO list to write about, but it may be further out, perhaps a couple of months. Cheers,
Eugen.

Cal L F
Cal L F
5 years ago

Hello Eugen, Will you be doing any OAuth2 integration tutorials where you secure your REST API using an OAuth2 authorization server. That would be amazing. Great work so far!

Eugen Paraschiv
5 years ago
Reply to  Cal L F

Hey Cal – actually, I did touch on that here. Hope it helps. Cheers,
Eugen.

Cal L F
Cal L F
5 years ago

Thanks Eugen, I completely missed that. What about writing a OAuth2 Authorization server 😛

Eugen Paraschiv
5 years ago
Reply to  Cal L F

Not yet 🙂

Sakibul Hasan
Sakibul Hasan
4 years ago

any update on this? 🙂

Eugen Paraschiv
4 years ago
Reply to  Sakibul Hasan

Yes – here it is. Hope it helps. Cheers,
Eugen.

Pawel
Pawel
4 years ago

Hi Eugen, I’m working with your Packt video course Spring Security. I like the way you teach. I watched most of videos and now I would like to run some examples. For some reason I can’t run any of them. Im out of ideas whay may be wrong . Could you please look at the stack and maybe give me some advice? 2015-10-14 09:43:59,693 [localhost-startStop-1] INFO o.s.w.c.s.AnnotationConfigWebApplicationContext – Found 1 annotated classes in package [com.packt.springsecurity.backend.spring] 2015-10-14 09:43:59,775 [localhost-startStop-1] INFO o.s.c.a.ClassPathBeanDefinitionScanner – JSR-250 ‘javax.annotation.ManagedBean’ found and supported for component scanning 2015-10-14 09:43:59,785 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader – Context initialization failed java.lang.IllegalArgumentException: null… Read more »

Eugen Paraschiv
4 years ago
Reply to  Pawel

Hey Pawel – glad you’re learning from the course. Two quick notes here. First – can you please open up an issue over on the Github project for the course – and add the full stack trace. That’s going to help me really see what the issue is. Second – can you edit your previous comment and remove the code? It makes the comment very heavyweight but because it’s not the full stack – it doesn’t help to much. Cheers,
Eugen.

Comments are closed on this article!