Advanced JAX-RS 24 - Implementing REST API Authorization

preview_player
Показать описание

Let's implement Basic Auth by using a Security Request Filter and have clients login using a user ID and password.
Рекомендации по теме
Комментарии
Автор

Not even single place out there, save this where you can find these concepts with such intricacies. Thank You so much. You are a savior.

AshishRajput-fhbh
Автор

I don´t speak English, but i understand almost all. Excellent videos!!!

Alexyslozada
Автор

Really great tutorials.... Looking forward to a separate OAuth and OAuth2 Session... :)

RajaAnbazhagan
Автор

Amazing tutorial !!
It 'll be nice to have one on how to build a client application that consumes REST API with Oauth

LaMochAna
Автор

Hi,
This is great video about basic auth mechanism for rest api,
I am looking for oAuth with Rest API not only me, more people are looking for oAuth mechanism. thanks.

shashib
Автор

Thanks. Need a series on implementing oauth 2.0 authorization with jersey. That would be awesome

greagarious
Автор

Hi, This is a great resource. I am looking for details on Jax RS with OAuth. Can you point me to a direction?

kishorevanapalli
Автор

Great tutorial... It would be great to have an OAuth 2.0 example... thanks

restablex
Автор

Hi Sir, What will happen if more then one filter class are available in same application, as you said every request will go through the filter class first? kindly reply

shakirali
Автор

Hey can you demonstrate Spring-REST, Spring-Hateoas with Spring-OAuth2

gauravdighe
Автор

it is not authorizing when i try in postman, i am getting api output directly did i missed any thing?

shivarajbiradar
Автор

Hi Koushik,

I was following this tutorial and came across one small thing. You forgot to mention that SecurityFilter should be annotated with 'Provider'. The request will not be intercepted by our SecurityFilter without 'Provider' annotation.

ravi
Автор

Hi,

It is perfectly working and tested with Postman, but in real time application how to send such request(Html/Angular4), can you please describe.

pnkjshrm
Автор

hi i have a question here why we are using http we need to use https right if so will this example works

satyanveshvanapalli
Автор

Thank you for sharing. Really great tutorials.

gorantisridhar
Автор

I would appreciate if you provide an example for Oauth2 Client using Jersey which includes all grant types.

tushartari
Автор

Sometime decoded value does not appear properly because there is extra space after replacing first string of Authentication header (Basic dXNlcjpwYXNzd29yZA==).

Using a Trim function after replace.
authTok=authTok.replaceFirst(AUTHORIZATION_HEAD_PREF, "");
authTok = authTok.trim();

varunmaraka
Автор

your videos are fabulous .. but you missing to provide details on web.xml, how it needs to be configured ..

azizuddin
Автор

why do you put "basic " in the value of header, and not only the value?

shurazeta
Автор

Some how its not working for me... is there any thing need to add web.xml or pom.xml. My api is working but not asking for authentication.. Please help .. thanks in advance

ManojKumar-utck