springfox / springfox-demos

Springfox demo applications
http://springfox.io
Apache License 2.0
737 stars 354 forks source link

Basic Auth & Security Schemes #8

Open tomb50 opened 9 years ago

tomb50 commented 9 years ago

Hi,

Are the security schemes working on these test apps? I can see that the user docket has only read only access and is set to Basic Auth, so shouldn't a user be prevented from invoking the POST createUser endpoint?

I have run boot-swagger & spring-java and on each demo was able to create and delete users.

Thanks Tom

dilipkrish commented 9 years ago

@tomb50 these demos are woefully out of date. They need to be updated to the latest released version

tomb50 commented 9 years ago

@dilipkrish Ahh okay, thanks for confirming.

dilipkrish commented 8 years ago

The demos should be uptodate as of 2.3.1 atleast

rajeshreddySR12 commented 6 years ago

Hi @dilipkrish , i need basic authentication using springfox. here iam not able to find proper code for that .i am completly new to swagger just i need a code which works with basic authentication.

any help ?

dilipkrish commented 6 years ago

There isn't one right now. However, you could try using jhipster to generate a project that helps.