Re: Spring Security problem

Chris Curtin <[email protected]> Thu, 18 Jan 2018 07:15:38 -0500
Newsgroups gmane.org.user-groups.ajug.members
Message-ID <CABf-h_5edXsG+71wODTEWreoyD9siOP0-fQVTY=rN_bJH1+6kw@mail.gmail.com>
--===============5709324516780321801==
Content-Type: multipart/alternative; boundary="001a11473746fde41605630beb8e"

--001a11473746fde41605630beb8e
Content-Type: text/plain; charset="UTF-8"

This is specific to JWT and Spring security/boot but the idea is the same.
You'll need to write your own code to create and validate the token, but
depending on which token types you should be able to find a library easily
enough

https://www.toptal.com/java/rest-security-with-jwt-spring-security-and-java

On Wed, Jan 17, 2018 at 10:33 PM, Mike Barnes <[email protected]> wrote:

> I have a problem where I need to set up spring security to handle a token
> based authenticatioln.
>
> Currently, I feel like I am going around in circle trying to simple get
> started.
> I also need to mention that this is a spring boot restful application.
>
> The process is that the consmer will come to the site and request a token
> which will then be used as authentication with all the other end points.
>
> Could someone point me in the direction of a good tutorial or cookbook
> that shows how to do token based authentication using Spring Security.
>
> Thanks
> Mike Barnes
>
> _______________________________________________
> ajug-members mailing list
> [email protected]
> Manage your subscription and unsubscribe http://lists.ajug.org/mailman/
> listinfo/ajug-members
>



-- 
Thanks,

Chris

--001a11473746fde41605630beb8e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This is specific to JWT and Spring security/boot but the i=
dea is the same. You&#39;ll need to write your own code to create and valid=
ate the token, but depending on which token types you should be able to fin=
d a library easily enough<div><br></div><div><a href=3D"https://www.toptal.=
com/java/rest-security-with-jwt-spring-security-and-java">https://www.topta=
l.com/java/rest-security-with-jwt-spring-security-and-java</a><br></div></d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Jan 17=
, 2018 at 10:33 PM, Mike Barnes <span dir=3D"ltr">&lt;<a href=3D"mailto:mdb=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div>I have a proble=
m where I need to set up spring security to handle a token based authentica=
tioln.<br><br></div>Currently, I feel like I am going around in circle tryi=
ng to simple get started.<br></div><div>I also need to mention that this is=
 a spring boot restful application.</div><div><br></div><div>The process is=
 that the consmer will come to the site and request a token which will then=
 be used as authentication with all the other end points.</div><div><br></d=
iv><div>Could someone point me in the direction of a good tutorial or cookb=
ook that shows how to do token based authentication using Spring Security.<=
/div><div><br></div><div>Thanks</div><span class=3D"HOEnZb"><font color=3D"=
#888888"><div>Mike Barnes<br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
ajug-members mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]<=
/a><br>
Manage your subscription and unsubscribe <a href=3D"http://lists.ajug.org/m=
ailman/listinfo/ajug-members" rel=3D"noreferrer" target=3D"_blank">http://l=
ists.ajug.org/mailman/<wbr>listinfo/ajug-members</a><br></blockquote></div>=
<br><br clear=3D"all"><div><br></div>-- <br><div class=3D"gmail_signature" =
data-smartmail=3D"gmail_signature">Thanks,<br><br>Chris</div>
</div>

--001a11473746fde41605630beb8e--

--===============5709324516780321801==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYWp1Zy1tZW1i
ZXJzIG1haWxpbmcgbGlzdAphanVnLW1lbWJlcnNAbGlzdHMuYWp1Zy5vcmcKTWFuYWdlIHlvdXIg
c3Vic2NyaXB0aW9uIGFuZCB1bnN1YnNjcmliZSBodHRwOi8vbGlzdHMuYWp1Zy5vcmcvbWFpbG1h
bi9saXN0aW5mby9hanVnLW1lbWJlcnM=

--===============5709324516780321801==--