Ibm mobilefirst &引用;SingleIdentityLoginModule缺少console.username参数;关于FormBasedAuthenticator Mobilefirst
我正在IBM MobileFirst平台v7.0上使用带有SingleIdentityLoginModule的FormBasedAuthenticatorIbm mobilefirst &引用;SingleIdentityLoginModule缺少console.username参数;关于FormBasedAuthenticator Mobilefirst,ibm-mobilefirst,mobilefirst-server,Ibm Mobilefirst,Mobilefirst Server,我正在IBM MobileFirst平台v7.0上使用带有SingleIdentityLoginModule的FormBasedAuthenticator <realm loginModule="StrongDummy" name="PageAccess"> <className>com.worklight.core.auth.ext.FormBasedAuthenticator</className> </realm&g
<realm loginModule="StrongDummy" name="PageAccess">
<className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
</realm>
<loginModule name="StrongDummy" expirationInSeconds="-1">
<className>com.worklight.core.auth.ext.SingleIdentityLoginModule</className>
</loginModule>
当我尝试使用任何凭据登录时,会显示一个错误“SingleIdentityLoginModule缺少console.username参数”
我不确定这里缺少了什么,也不确定把“console.username”参数放在哪里
请参阅所附图片
单一标识登录模块用于向单个用户授予对受保护资源的访问权限,其标识在worklight.properties文件中定义。此模块仅用于测试目的 更多详情请参见链接
var reqURL = '/j_security_check';
var options = {};
options.parameters = {
j_username : "admin",
j_password : "admin"
};
options.headers = {};
sampleAppRealmChallengeHandler.submitLoginForm(reqURL, options, $rootScope.sampleAppRealmChallengeHandler.submitLoginFormCallback);