java


How to manage springs ROLE from my reactJS client


I have a java api that use :
spring
spring-data-rest
spring-hateoas
I use my ReactJS client application to authenticate myself using my account with it's ROLEROLE then a OAuth2 token for my client application to access the REST API.
The user menu is generated using the base path of my API, and contain all the services the user as ROLE to go to.
This means I will have some path returned from the server to my client and it will differ depending on what ROLE the user have.
Does anyone see any issue with this implementation ?
I would also take all the recommendation.

Related Links

Core Java - To implement Fish in an Aquarium
Verify that method was called with an instance of superclass and then of child class
Foreign key constraints getting failed in spring nested transaction
How to upload large text files using REST service
Get HTTP error code in Spring MVC Error handling
JavaFX: Buttons with same width and size to text
JavaFx: Make observable clones [duplicate]
How to schedule a task in Java to hit a url and retrieve the response
Javafx having pane follow game character
Set the value of an array later in the program
How can I fix this Map Activity error in Android Studio?
Test Maven plugin with maven-plugin-testing-harness
Android - Illegal constant pool index error
Jersey Client : mapping between collection xml and list java objects
Trust anchor for certification path not found Android SSL
Adding background image to jsp

Categories

HOME
openlayers
openstack
mediawiki
hp-exstream
iot
framework7
filtering
google-oauth
ip
disassembler
networkx
constraint-programming
ios-charts
volttron
row
circular-dependency
dynamics-crm-online
quartz-scheduler
dosgi
reactcsstransitiongroup
lldb
emulator
reverse-proxy
kryo
pass-by-reference
blazemeter
buildbot
elasticsearch-ruby
webkitspeechrecognition
file-rename
fabric8
caret
textmate
openoffice.org
picasso
nssegmentedcontrol
host
adobe-premiere
serve
streamsets
objectlistview
awt
hp-ux
mapzen
janrain
google-closure
flashair
sencha-touch-2.3
thin
network-flow
blogengine.net
return-value
forever
libusb-win32
akka-cluster
memory-alignment
gcsfuse
bind9
orthogonal
chord-diagram
migradoc
home-directory
fputcsv
captivenetwork
oauth2client
unity-networking
tmuxinator
rgeo
unity5.2.3
e10s
pick
fpml
titanium-modules
rdl
dealloc
ember-charts
prettify
.aspxauth
cdc
dir
ora-00911
eventual-consistency
django-nonrel
orchardcms-1.7
drools-planner
rdoc
tridion-worldserver
appconkit
removeclass
spyware
coercion
propagation
gallio
mediarss
zune
lzh
ajax-forms
ntvdm.exe

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App