royclarkson / spring-rest-service-oauth

A simple OAuth protected REST service built with Spring Boot and Spring Security OAuth
Apache License 2.0
664 stars 339 forks source link

JDBC #1

Closed we4sz closed 9 years ago

we4sz commented 10 years ago

Hi Roy!

So say i wan't to create an application with like 100 users with different user roles. I want to create the users in a MySQL database and use them, I want also be able to "backtrace" an oath to see which privileges the user have. Would be awesome if you could show an example for this.

Thanks

//John

royclarkson commented 10 years ago

Thanks, good suggestion. My initial goal was to distill the OAuth configuration down to a very simple example. But I do think it would be useful to have a real database example and multiple roles. There are some other sample apps which provide additional configuration options too. Have you seen these?

royclarkson commented 10 years ago

9 added a database for users. They all have the same role, but it's getting closer to what you are requesting.

raedbh commented 9 years ago

@we4sz check out #15

royclarkson commented 9 years ago

Thanks to @raedobh, I think this is covered now.