Hi all

We have a webservice which implemented on ivy. This service serve for many customer. As default it required basic-auth. alt text Now some of customers dont want to be authenticated when calling it, so we intend to introduce the global var where admin can allow to turn on/off this feature.

Can we go with that way and how to turn off/on this authentication type programmatically?

Thanks

asked 01.02.2018 at 03:06

trungdv's gravatar image

trungdv
(suspended)
accept rate: 52%


Hi

One solution could be to turn authentication to None/Container. Then, for the customers that want to have authentication install a filter in the web.xml or a tomcat valve in the context.xml file that performs the HTTP Basic Authentification for WebService requests

Regards

Reto Weiss, Axon.ivy Support

link

answered 01.02.2018 at 06:10

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

hi @Reto Weiss ♦♦ I guess we can't get ivy user from that filter, right?

(01.02.2018 at 06:15) trungdv trungdv's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147
×48
×16

Asked: 01.02.2018 at 03:06

Seen: 1,943 times

Last updated: 01.02.2018 at 06:15