java


Java: Authentication and Authorization with iOS/Andorid/Angular as client


I am looking for building an iOS/Android and Angular app with Java at the backend(REST API). Java will use spring framework. I am looking for the options for User authentication. iOS/Android App will be used by the client and Angular web app will be used my management. Angular web users will have different roles so requirement requires authentication(email and password) as well as authorization. Considering this I was thinking of using Spring Security with a custom UserDetailService. However I guess that will have issues with cookies. I looked into AWS Cognito Identity and Firebase and got more confused. It will be a great help if someone can share there experience with such requirement.
i had created basic login application in angular application by referring the links:
http://jasonwatmore.com/post/2015/03/10/angularjs-user-registration-and-login-example-tutorial
and i have used cakePHP3 for rest API generation and Token is generated on the the basis of JWT, JSON Web Token (JWT) is a JSON-based open standard used for passing claims between two parties in the context of web application environment. These token are specially designed to be very compact and URL safe. Their usability in the context of web browser single sign-on is also remarkable. JWT claims are useful for passing identities’ verification between service providers and identity providers. you'll find the reference links on internet.
for android and IOS you need to learn JSON parsing first. In android, JSON parsing can be done using OKHttpclient/Volley "android hive" is best site to learn jsonParsing and in IOS jsonParsing can be done using AFNetworking.
Hope this will help you.
The Ideal Project for you is Spring Security OAuth2. With this you can make your REST API Stateless and no need to worry about Cookies and Sessions.

Related Links

Multiple HTTPS requests with limited connections in java
How To Count Word Occurence in a String HashMap
Java (Eclipse): cannot be resolved to a type
Inserting integer into array using 1 for loop
Algorithm: Merge overlapping segments
Android GIF transparent background disappears
Generating OpenSaml MetaData for a SP
ImageIcon array isn't populating button array with my Images
DataOuput database implementation
Unable to read content from https connection using java
How to split lines based on the cursor position?
Issue while running Linux Command using Java?
Android, detect COM port from keyPress
Mockito returns the same result for different parameter values
Freely Draggable TextView - Fine Control
Increased cohesion in simple java program

Categories

HOME
sendgrid
client
bluetooth
alfresco
rsyslog
at-command
programming-languages
cmd
disassembler
ezpublish
enterprise-library-5
autotools
etl
apache-cayenne
spring-tool-suite
hapi
jsprit
fatal-error
text-rendering
nhibernate-envers
viewport
riot.js
csrf-protection
dcevm
captiveportal
linkerd
publish
elasticsearch-net
gsoap
nat
sql-server-2012-express
twilio-api
textmate
gammu
jmonkeyengine
bytecode-manipulation
az-application-insights
angularjs-factory
ibpy
isbn
turbogears
unixodbc
auto-update
youcompleteme
pnotify
jxcore
font-size
ifs
namecoin
linode
google-cdn
root-framework
plottable.js
testng-dataprovider
master-slave
suffix-tree
design-by-contract
photobucket
ford-fulkerson
javax.sound.midi
r-tree
ibaction
ios9.1
oberon
clicktag
gulp-less
flask-cors
ceil
transcoding
xsockets.net
mt
errai
datareader
sudzc
jquery-ui-droppable
thunderbird-lightning
meego
spec#
.net-1.0

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App