发明名称 |
Authentication of user interface elements in a web 2.0 environment |
摘要 |
A method for managing authentication of user interface elements in a user interface can be provided. The method can include displaying a plurality of widgets in the web browser and sending an HTTP request for data to a web site, wherein the HTTP request is sent via an XMLHttpRequest API. The method can further include receiving from the web site a 401 HTTP status code associated with a custom “WWW-Authenticate” header value indicating that the HTTP request is unauthorized for communication with the web site and detecting the custom “WWW-Authenticate” header value. The method can further include displaying in a first widget of the plurality of widgets a text field for entering user credentials. The method can further include sending to the web site an HTTP request including the user credentials entered by a user, wherein the HTTP request is sent via the XMLHttpRequest API. |
申请公布号 |
US9122848(B2) |
申请公布日期 |
2015.09.01 |
申请号 |
US200812141115 |
申请日期 |
2008.06.18 |
申请人 |
International Business Machines Corporation |
发明人 |
Jurkiewicz Jared P.;Kaplinger Todd E. |
分类号 |
H04L29/06;G06F21/31;H04L29/08 |
主分类号 |
H04L29/06 |
代理机构 |
CRGO Law |
代理人 |
Greenberg, Esq. Steven M.;CRGO Law |
主权项 |
1. A method for managing authentication for widgets in a web browser, comprising:
displaying a plurality of widgets in the web browser; sending a hypertext transfer protocol (HTTP) request for data to a web site, wherein the HTTP request is sent via an XMLHttpRequest API; receiving from the web site a 401 HTTP status code not present in the HTTP specification and associated with a custom “WWW-Authenticate” header value indicating that the HTTP request is unauthorized for communication with the web site; detecting the custom “WWW-Authenticate” header value; and displaying in a first widget of the plurality of widgets a text field for entering user credentials. |
地址 |
Armonk NY US |