Is there a way to configure a process start with a http link to show the login page if the caller is not logged in?

I defined the JsfWorkflowUi as 'Default Pages Implementor' but this didn't worked. Creating a process with a DefaultLoginPage.ivp start step didn't worked to.

Do I need to catch the 'Role Violation Exception' and redirect to a login page?

asked 15.10.2015 at 10:37

tiago's gravatar image

tiago
(suspended)
accept rate: 0%


I'd handle this situation with a re-useable Html Dialog step which is called first after every public start link (Start Request).

Within this dialog you can either show the login mask. Or directly close it again as the user is already logged in. See my sample screenshots: alt textalt text

I do not like the 'onlyWfUser' approach because it is not re-usable. It would be possible to use an Exception Start to catch the error and let the user log in on a Html Dialog. But I don't see a way to remember the start link which was used by the user. So it's difficult to redirect the user to the correct page after you showed a login page.

link

answered 19.10.2015 at 09:00

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 22.10.2015 at 13:01

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×28
×16
×8

Asked: 15.10.2015 at 10:37

Seen: 3,360 times

Last updated: 22.10.2015 at 13:01