|
Re: Eclipse Scout 8.0 application with two clients [message #1806576 is a reply to message #1806556] |
Fri, 10 May 2019 15:01 |
|
Hi Bernard
In a typical Scout application the Scout client and Scout server are two components of the _same_ application. In Scout the "client" (aka UI server) is a server component too. It is responsible for handling multiple client sessions (= users connecting to the UI server with a browser). I guess it is somehow possible to have two different clients connecting to the same backend server. But that's definitely not a standard set-up, so I'd not recommend to do that.
As you already suggested, you should use permissions instead. Your client application will probably have two views/outlines: presentation and administration. Depending on the permissions of the logged in user you set the visibleGranted property, so the user will only see the outlines he is permitted to see.
To solve your access requirements you must set up an AuthFilter in your web.xml, which grants read-only access to anonymous users. However: a user with administrator permissions would have to request the /login.html directly (or call a secured URL like /admin) in order to log in as a user with admin-permissions. See the Scout widgets application for an AuthFilter example.
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
Powered by
FUDForum. Page generated in 0.02447 seconds