RP requests user authentication.
RP请求验证用户的身份。
In that code, the RP does two things.
在这段代码中,RP做两件事。
First, the RP contacts the OP at its Endpoint URL.
首先,RP通过端点url联系OP。
Whenever he came to Jakarta he gave me Rp 500, 000.
他只要来雅加达就给我50万卢比。
The salary at the textile mill is Rp 1 million per month.
纺织厂工资每月是一百万卢比(106美元)。
Rupiah (Rp) is the monetary unit of Indonesia (currency code IDR).
卢比(Rupiah) (Rp)是印度尼西亚的货币单位(货币代码IDR)。
The RP then creates and sends the authentication request to the OP.
然后,RP创建身份验证请求并发送给OP。
If the user cannot be authenticated, then the RP denies access.
如果用户得不到验证,rp会拒绝任何访问。
RP grants access: The user is granted access to the protected resource.
RP授予访问权:授予用户对受保护资源的访问权。
For the RP and OP to communicate, the RP must perform discovery on the OP.
为了在RP和OP之间通信,RP必须对OP执行发现。
The sample application (which ACTS as the RP) now has my User-Supplied Identifier.
示例应用程序(充当rp)现在知道我的用户提供标识符了。
The broker said that if I got Rp 5 or 6 million together, I could get out next year.
中间人说如果我有5百万或者6百万,我明年就能放出去。
This class handles all of the code the sample RP application needs to perform authentication.
该类处理示例RP应用程序执行身份验证所需的所有代码。
The Endpoint URL is where the OP is contacted, and where it receives all requests from the RP.
端点url是联系op的位置,OP在这里接收所有来自RP的请求。
The RP determines whether the logged-in user has authorization to access the protected resource.
RP判断登录的用户是否有权访问受保护的资源。
As the name suggests, a User-Supplied identifier is the identifier supplied by the user to the RP.
顾名思义,用户提供的标识符是由用户提供给RP的标识符。
When the OP sends back information to the RP, it USES the same constructs, as shown in Listing 6.
当OP把信息发送回r p时,使用相同的构造,见清单6。
RP requests user authentication: The RP checks with the OP to see if the user can be authenticated.
RP请求验证用户的身份:RP 向OP 询问是否可以验证用户的身份。
The sample application includes code for both the RP and the OP so that you can see how they work together.
示例应用程序包含RP和OP的代码,这样您可以看到它们的协作方式。
Here is the code the RP USES (from the constructor of OpenIdRegistrationPage) to send the discovery request.
RP使用下面的代码(取自openidregistrationpage的构造器)发送发现请求。
Suppose a user is attempting to access a resource that is part of an RP's Web site, and the RP USES OpenID.
假设有用户尝试访问属于RPWeb站点的资源,且RP使用OpenID。
Association: an optional step, but one I highly recommend, wherein the RP and op establish a secure communication channel.
关联:并非必要步骤,不过是我强烈推荐的一步,在该步中,RP和OP建立一个安全通信渠道。
After the RP has successfully performed discovery on the User-Supplied Identifier, it's time to authenticate the user.
RP在用户提供的标识符上成功执行发现后,该到验证用户身份的时候了。
Verification: the RP requests userid verification from the OP and ensures the communication has not been tampered with.
验证:rp向op请求用户名验证,并确保通信没有受到干扰。
Proceed to application: Following authentication, the RP directs the user to the resource he or she initially requested.
转到应用程序:身份验证之后,rp为用户指向其先前请求的资源。
Association is performed from the RP code with a single call to the associate method on ConsumerManager, as shown in Listing 3.
关联是从RP代码中执行的,仅需调用ConsumerManager上的associate方法即可,如清单3所示。
Briefly, the RP asks the OP for specific information through a message, and the OP sends that information back in a message.
简单地说,RP通过消息请求OP提供特定的信息,OP在消息中发送回这些信息。
By the way, could you leave me some money, because when you leave I have to pay the guards Rp 80,000 to get back to my cell.
顺便说一句,你走的时候能给我留点钱吗,因为你走后我必须付给看守8万卢比才能回牢房。
RP performs discovery: the RP sends a discovery request to the OP in order to establish a connection and perform association.
RP执行发现:rp向op发送发现请求以建立连接和执行关联。
RP performs discovery: the RP sends a discovery request to the OP in order to establish a connection and perform association.
RP执行发现:rp向op发送发现请求以建立连接和执行关联。
应用推荐