MATLAB Web App Server shows "No web apps available. Add valid web apps to the apps folder in the MATLAB Web App Server."

1 次查看(过去 30 天)
I have enabled Authentication for my MATLAB Web App Server and I can log in and see all the apps. After I enabled Policy-Based Access, I got the following error: "No web apps available.Add valid web apps to the apps folder in the MATLAB Web App Server."

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-4-21
This is because the policy you defined in the webapps_authn.json file limits your access to any of the apps. Please check the rules you defined if you believe you should have access. 
For example, if you are using LDAP Authentication, you can check if you have the right attribute value.
Using below rule as an example, you can check if you are a member of "cn=Sales,ou=sales,ou=groups,dc=myboston,dc=com" or if the spelling of the attribute value "cn=Sales,ou=sales,ou=groups,dc=myboston,dc=com" is correct. 
"id": "rule101",
"description": "Sales group can run the BloodPressure app.",
"subject": { "memberOf": ["cn=Sales,ou=sales,ou=groups,dc=myboston,dc=com"]
You can perfrom a ldapsearch to get your ldap entry value. You might refer the following article for more details.
https://www.mathworks.com/matlabcentral/answers/1631445-how-to-verify-debug-ldap-authentication

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Server Management 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by