For instance, if a server receives an unauthorized request from a client, the server should respond with an 401 unauthorized response that includes a WWW-Authenticate header as shown in Listing 17.
比方说,如果服务器从客户机收到未经授权的请求,服务器应该返回包含WWW - authenticate头的401 Unauthorized响应,如清单17所示。
The skeleton and client stub files get created at the ./src/com/ibm/axis2/ask directory, and the AskDocument and AskResonseDocument classes get created at the ./src/com/example/www/ask/xsd directory.
骨架和客户机存根文件将在 ./src/com/ibm/axis2/ask 目录中创建,AskDocument 和 AskResonseDocument 类在 ./src/com/example/www/ask/xsd 目录中创建。
When OAuth-protected resources are requested, typically the client will get an HTTP 401 response including a WWW-Authentication header.
当保护的OAuth资源被请求后,通常,客户端将得到一个HTTP 401的响应,包含一个WWW - Authentication头部。
应用推荐