001    /** =====================================================================       
002    *
003    *  File Name : $Id: FDBLoginListener.java,v 1.2 2007/08/17 14:23:03 cb Exp $
004    *
005    *  Description
006    *  -----------
007    *
008    *  See javadoc comment 
009    * 
010    *  =====================================================================
011    *
012    *   @Author : Craige Bevil 
013    *             Control Software Group
014    *             Isaac Newton Group of Telescopes
015    *
016    *  =====================================================================
017    *
018    *     Modification Log
019    *
020    *     Vers         Date        Author       Reason
021    *     ----         ----        ------       ------
022    *      1           25 May 2007 C.Bevil      First Release
023    *
024    *     Commissioning Notes
025    *     -------------------
026    *
027    *     None
028    *     
029    *  =====================================================================
030    *
031    *     @Version   : $Id: FDBLoginListener.java,v 1.2 2007/08/17 14:23:03 cb Exp $
032    *
033    *     @Author    : $Author: cb $
034    *
035    *     Header     : $Header: /opt/INGsrc/src/CVS/softproj/FaultDatabase/src/FaultDatabase/FaultDatabase/src/GWTApplication/client/FDBLoginListener.java,v 1.2 2007/08/17 14:23:03 cb Exp $
036    *
037    *     Log        : $Log: FDBLoginListener.java,v $
038    *     Log        : Revision 1.2  2007/08/17 14:23:03  cb
039    *     Log        : Comment change
040    *     Log        :
041    *     Log        : Revision 1.1.1.1  2007/06/01 08:33:26  cb
042    *     Log        : Imported using TkCVS
043    *     Log        :
044    *
045    * =====================================================================*/
046    
047    package GWTApplication.client;
048    
049    /**
050     * This is an interface which a listener for user authentication must
051     * implement if it wants to be informed when the user has
052     * authenticated. This interface is used by the {@link LoginPanel
053     * LoginPanel} class. 
054     * @author Craige Bevil
055     * @version $Id: FDBLoginListener.java,v 1.2 2007/08/17 14:23:03 cb Exp $
056     */
057    
058    interface FDBLoginListener {
059        
060        /**
061         * Called when a user authenticates himself against the system and
062         * was successful. 
063         * @param UserAuthentication Contains the users autherntication
064         * details. 
065         */
066    
067        void userLoggedIn (final AuthenticationDetails UserAuthentication);
068    }