Code Monkey home page Code Monkey logo

Comments (4)

emicklei avatar emicklei commented on August 25, 2024

Good suggestion. However, realize that most infrastructure setups (the ones I've seen) solve this by puttin a web-proxy (apache, nginx) in front of a service. There you specify ACL rules for each route and provide Basic or Message Digest Auth.

I do plan to add the concept of Request and Response Filters to Routes and WebService. One implementation could very well be authentication.

from go-restful.

xmehaut avatar xmehaut commented on August 25, 2024

Thanks for the answer :)
yes it may be implemented by the proxy, but often the infrastructure team
and the development teams are not the same, and less we have interactions
between both, and quicker the dev may be done...

I eager to see the result...
best regards
Xavier

2013/5/17 Ernest Micklei [email protected]

Good suggestion. However, realize that most infrastructure setups (the
ones I've seen) solve this by puttin a web-proxy (apache, nginx) in front
of a service. There you specify ACL rules for each route and provide Basic
or Message Digest Auth.

I do plan to add the concept of Request and Response Filters to Routes and
WebService. One implementation could very well be authentication.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-18057468
.

Bien cordialement,
Xavier

from go-restful.

emicklei avatar emicklei commented on August 25, 2024

I have included an example for implementing Basic Authentication using a Filter function.

from go-restful.

xmehaut avatar xmehaut commented on August 25, 2024

Thanks ernest :)

2013/5/22 Ernest Micklei [email protected]

I have included an example for implementing Basic Authentication using a
Filter function.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-18307820
.

Bien cordialement,
Xavier

from go-restful.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.