Hi,

I am going through the friendbook-domify example and need help understanding how login 
is performed.

this is from maverick.xml:

<views>
                <view id="loginRequired">
                        <transform path="loginRequired.xsl"/>
                        <transform path="outside.xsl"/>
                </view>

                <view id="loginFailed">
                        <transform path="loginFailed.xsl"/>
                        <transform path="outside.xsl"/>
                </view>
        </views>

...
                <command name="friends">
                        <controller class="org.infohazard.friendbook.ctl.Friends"/>
                        
                        <view ref="loginRequired"/>
                        <view ref="loginFailed"/>

                        <view name="success">
                                <transform path="friends.xsl">
                                        <param name="ActiveUserStyleAttrs" 
value="background-color: yellow;"/>
                                </transform>
                                <transform path="inside.xsl"/>
                        </view>
                </command>

I am going through scanrio when non existing combination login/password is submitted.

Now, controller classes extend on several levels:
Friends->Protected->Gatekeeper->ControllerAuth->ControllerErrorable

There is a class LoginSubmit that also extends ControllerAuth. Is this class used in 
login process in command 'friends'?

I can not trace trough method calls that protected boolean login(String login, String 
password) was called and how is failedLogin view chosen.

Thanks,

Shrek



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
[INVALID FOOTER]

Reply via email to