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

ArrayIndexOutOfBoundsException error but I think the code is okay
How to remove from a binary search tree?
FileInputStream only reads the first word in a file
Copying in Java using streams - losing data/bytes
Temporarly Cover JFrame with JPanel [duplicate]
Class value is not affected by method
The comprehensive list of the Android permission with corresponding class
How do I get only specific level of message in my log file?
How to Write/Generate CSV file from annotated java class
org.hibernate.TransactionException: Unable to locate JTA UserTransaction
Parse String representation value into Java class type
SecurityContextHolder.getContext().getAuthenticated returns null when url is added to WebSecurity configuration
Getting process ID created by ProcessBuilder [duplicate]
How to move to other Jpanel inside class that extend JPanel
Android : Espresso test FW throwing “No tests found..” exception
Unicode characters are not recognized in java

Categories

HOME
wso2-am
hive
cloud
activiti
mediawiki
json.net
raspberry-pi
bpmn
spring-cloud-stream
google-oauth
jsrender
gps
ckeditor
angular-ui-bootstrap
swagger-ui
bs4
python-unittest
adobe-analytics
volttron
export-to-csv
resize
circular-dependency
google-static-maps
http-status-code-504
dbext
css-animations
sox
tibco-mdm
firebase-crash-reporting
microsoft-sync-framework
javacv
brunch
filezilla
typo3-6.2.x
xacml
opentype
preg-match
contact-form
kendo-ui-grid
vsts-build-task
protovis
environment-modules
plsql-psp
serve
libvpx
c11
opshub
bootstrapper
squib
vao
menuitem
jlink
forever
crypt
typed-lambda-calculus
np-complete
color-profile
django-debug-toolbar
merge-conflict-resolution
qpid
pyke
netmq
javax.sound.midi
separator
msys
ruby-2.2
kcachegrind
dukescript
ibaction
system32
angular-local-storage
graph-api-explorer
clipperlib
websocket4net
navigationservice
hippomocks
braille
typo3-neos
uv-mapping
ms-project-server-2010
file-locking
excel-2003
shellexecute
isnullorempty
trusted
broken-links
tridion-worldserver
bigcouch
eclipse-templates
whoosh
data-loss
fluent-interface
revisions
database-management
multi-tier
ti-dsp
phonon
procedural-music
port-number
mediarss
lzh

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