Skip to Content
0
Former Member
May 26, 2008 at 11:42 PM

How does the portal logon page get displayed?

26 Views

G'day,

When I access the portal and it is protected by the "ticket" login module stack, up pops a page with a username/password form.

Now I understand that there's a BasicPassword login module on the stack, and this login module will invoke a callback to get the username and password that it requires.

But does the portal logon page get displayed in response to the BasicPassword callback; or does it get shown first, store the username/password somewhere, and feed that cached info to the BasicPassword callback when it is eventually invoked?

I've noticed also that if the login stack has a login module that can perform authentication automatically, then the logon page does not get shown at all, which suggests that the logon page is shown only when a callback requests information.

The reason I ask is that I want to write a login stack that checks for the presence of username/password parameters in the servlet request, but I need to ensure that the logon page is always shown to collect this information first. If the logon page is only shown in response to a callback, then my login stack will not work.