TomCools / dropwizard-websocket-jsr356-bundle

A Dropwizard bundle that enables the usage of the Java API for WebSocket Protocol (JSR 356).
Apache License 2.0
22 stars 14 forks source link

Authentication #7

Open SenhorCastor opened 7 years ago

SenhorCastor commented 7 years ago

Hi, I was able to configure a simple websocket and exchange some message, fairly straightforward, congrats!.

I am wondering how would be the best approach for authentication. My api/rest endpoints on the server are using io.dropwizard.auth.Authenticator

How can you handle auth for websockets? Maybe I am missing something trivial

Thanks in advance Fer

danielborges93 commented 7 years ago

Hi @SenhorCastor.

Did you get some progress with this? I I'm with the same issue.

Thanks!

TomCools commented 6 years ago

Normally any Jersey style filter should be able to intercept these requests if i am not mistaken. Will investigate this in the near future.

TomCools commented 2 years ago

I had originally abandoned this project, but am reviving it for DW 4.0, will look into this.

TomCools commented 1 year ago

Now that DW 4.0 is out, I'll be picking this up again.

PiercarloSlavazza commented 1 year ago

Hi @TomCools, any progress on this issue? Thank you!