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.
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