Results 1 to 3 of 3

Thread: [Polymer] Anyone has experience using polymer?

  1. #1
    npm's Avatar
    Joined
    Dec 2011
    Posts
    813
    Userbars
    15
    Thanks
    735
    Thanked
    564/219
    DL/UL
    84/3
    Mentioned
    109 times
    Time Online
    83d 21h 28m
    Avg. Time Online
    28m

    [Polymer] Anyone has experience using polymer?

    We have a java web application running at work and I suggested to do a PWA (Progressive Web Application) that communicates with some webservices (also written in java), polymer and all the pwa concepts are new to me, but somehow I was able to write the entire application flow and communication within our webservices just fine, but Im facing a problem adding a personal authentication solution at the begging of the aplication, anyone has ever done/heard about polymer and how its possible to add an auth page at the begging of the application flow that comunicates asynchronously to a webservice to know if we must loggin the user or not?

    so to resume:

    - java web application with sqldatabase on server.
    - java REST-full webservices that pull data from web application.
    - PWA that needs to log in only if the username & password given as parameters to ws exists and are valid. callback to log user in.

    Any help will be really appreciate, thank you guys.

  2. #2
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,720
    Userbars
    166
    Thanks
    5,906
    Thanked
    33,076/6,608
    DL/UL
    23/36
    Mentioned
    3,867 times
    Time Online
    563d 4h 55m
    Avg. Time Online
    3h 13m
    Never used this before. Have you tried asking stack overflow?
    (you need an account to see links)
    (you need an account to see links)(you need an account to see links)

    ------------------------
    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
    ------------------------


  3. The Following User Says Thank You to j03 For This Useful Post:

    npm (04-20-2017)

  4. #3
    npm's Avatar
    Joined
    Dec 2011
    Posts
    813
    Userbars
    15
    Thanks
    735
    Thanked
    564/219
    DL/UL
    84/3
    Mentioned
    109 times
    Time Online
    83d 21h 28m
    Avg. Time Online
    28m
    Haven't done it yet, was doing a little research by myself and found that the way to go here its implementing a JWT's (JSON Web Token) on server side and store it on IndexDB to avoid CSRF attacks. Will try it in next days and If I cant will ask there, thank you for your answer.

    Found this libs:

    (you need an account to see links)
    Last edited by npm; 04-20-2017 at 11:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •