admin管理员组

文章数量:1390718

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.

本文标签: javascriptWhat is ContainerBased AuthenticationStack Overflow