Worklight中基于表单和基于适配器的身份验证之间的差异 [英] Differences between Form and Adapter Based Authentication in Worklight

查看:201
本文介绍了Worklight中基于表单和基于适配器的身份验证之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能否告诉我表单和基于适配器的身份验证之间的区别。我已经浏览了IBM提供的pdf,但无法找到实际的差异。

Can you please let me know the differences between Form and Adapter Based Authentication. I've gone through the pdf provided by IBM but was not able to find actual difference.

我想到的是某些疑问:


  • 如何进行验证?并且从输入 j_username j_password 的服务器比较用户名和密码。

  • How validation occurs? and comparison of username and password from server with entered j_username and j_password.

目前正在接受用户名和密码的任意组合。

Right now for example it's accepting any combination of username and password.

因为他们使用 requrl = / j_security_check


  • 如何验证用户名和密码与服务器?

推荐答案

表单和基于适配器的身份验证之间的主要区别在于基于表单的身份验证正在使用MobileFirst内部类和方法,当使用基于适配器的身份验证时,您负责身份验证过程(应该位于适配器内) - 您只需在securityTest中声明用于登录和注销的过程。
如果要使用基于表单的身份验证和用户名和密码,可以使用单一身份登录模块。
有关Single Identity登录模块的更多信息,请访问:
https://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/devref/r_single_identity_login_module .html

The main difference between Form and Adapter Based Authentication is that Form Based Authentication is using MobileFirst internal classes and methods, and When using Adapter Based Authentication you are responsible for the authentication procedures (which should be located inside an adapter) - you only declare in the securityTest what procedures to use for login and logout. If you want to use Form-Based Authentication with username and password you can use Single Identity login module. More information about Single Identity login module can be found here: https://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/devref/r_single_identity_login_module.html

这篇关于Worklight中基于表单和基于适配器的身份验证之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆