javascript - What is Container-Based Authentication? - Stack Overflow

I know the "XMLHttpRequest" object supports a method "open" which has an optional p

I know the "XMLHttpRequest" object supports a method "open" which has an optional parameter of a username and password. I just found out that these parameters can be supplier for requests requiring container-based authentication.

This is the method signature:

open(method, url, async, username, password)

Can someone help me out with the meaning of Container-Based Authentication?

I know the "XMLHttpRequest" object supports a method "open" which has an optional parameter of a username and password. I just found out that these parameters can be supplier for requests requiring container-based authentication.

This is the method signature:

open(method, url, async, username, password)

Can someone help me out with the meaning of Container-Based Authentication?

Share Improve this question edited Nov 26, 2009 at 10:05 Stephen Denne 37.1k10 gold badges48 silver badges61 bronze badges asked Nov 26, 2009 at 9:57 OrsonOrson 15.5k12 gold badges59 silver badges72 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 8

Container-Based means that the container of the web application (e.g. tomcat, jboss, etc.) performs the authentication, and makes the results of the authentication known to your web application.

As a consequence, your web application doesn't need to implement NTLM, HTTP Basic, or any authentication code, because the container already does all that.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744662664a4586554.html

相关推荐

  • javascript - What is Container-Based Authentication? - Stack Overflow

    I know the "XMLHttpRequest" object supports a method "open" which has an optional p

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信