| Summary: | [orion.page.content] Confusing message if not logged in | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John J. Barton <johnjbarton> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | malgorzata.tomczyk, Szymon.Brandys |
| Version: | 0.5 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
John J. Barton
Gosia or Szymon - what do I need to add to my page to get the normal "you must login" support? (In reply to comment #0) > When I reload my orion.page.content plugin page while not logged in I get a > message about the plugin content missing, rather than a log in prompt. If you are using form login then your 401 response should contain the following json: {label: "John's B. plugin", SignInLocation: <URL to login form>, SignInKey: "johnsbplugin" <or any othwer unique string that will identify your plugin> } This should trigger the popup to go on and redirect you to the given URL to log in. Of cause the precondition is that response has to be 401. If you want information about authentication to be shown permanently in the right hand corner (not only on 401), you can implement authenticationPlugin (try http://<orionserver>/authenticationPlugin.html as an example) Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |