org.caleigo.security
Interface ILoginInfoProvider

All Known Implementing Classes:
ILoginInfoProvider.GuestUserLoginHandler

public interface ILoginInfoProvider

Handles the retreival of user login information. Typically an IUserLoginHandler asks the user for a user name and a password.

Version:
1.00
Author:
Mattias Hagstrand

Nested Class Summary
static class ILoginInfoProvider.GuestUserLoginHandler
           
 
Method Summary
 int getMaximumNumberOfLoginTries()
          Returns the maximum number of times a user is allowed to try to login before the application exits.
 java.lang.Object getUserLoginInformation()
          Returns an Object that represents user login information.
 void handleError(java.lang.String message)
          Invoked when an error occured while logging in with the user login information returned by this IUserLoginHandler.
 

Method Detail

getUserLoginInformation

public java.lang.Object getUserLoginInformation()
                                         throws java.lang.SecurityException
Returns an Object that represents user login information. If the login is canceled null is returned.

Throws:
java.lang.SecurityException

handleError

public void handleError(java.lang.String message)
Invoked when an error occured while logging in with the user login information returned by this IUserLoginHandler.


getMaximumNumberOfLoginTries

public int getMaximumNumberOfLoginTries()
Returns the maximum number of times a user is allowed to try to login before the application exits.



Copyright © 2005 Caleigo. All Rights Reserved.