该示例代码使用了一个自定义的身份验证令牌。
如果该portlet正常工作,那么可以开始修改代码来添加ltpa令牌验证了。
If the portlet is working properly, you can start to modify the code to add LTPA token authentication.
如果您正在“内部”实现Web服务并且拥有对客户机代码的控制权,您就可以把ApplicationServer配置为生成ltpa令牌并让客户机在cookie中返回它们。
If you are implementing Web services "internally" and have control over the client code, you can configure Application Server to generate LTPA tokens and have the client return them in cookies.
接着,要找出更改portlet中的哪些地方的代码,这样,通过使用ltpa令牌,这些portlet将具有单点登录功能。
Next you'll seek out where to change the code in the portlets so that they have the single sign-on feature by using LTPA tokens.
将会从Twitter请求请求令牌,然后用户将被重定向到 Twitter,以授予代码读/写用户 Twitter 数据的权限,参见图2。
A request token will be requested from Twitter, and then the user will be redirected to Twitter for authorizing our code to the user's Twitter data with read/write access; see Figure 2.
它把一个查找令牌和代码(有时也叫“配方”)关联到一起,以便创建依赖值。
It relates a lookup token to code-sometimes called a "recipe" -that can create a dependency value.
它把一个查找令牌和代码(有时也叫“配方”)关联到一起,以便创建依赖值。
It relates a lookup token to code-sometimes called a "recipe" -that can create a dependency value.
应用推荐