org.caleigo.security
Class ILoginInfoProvider.GuestUserLoginHandler

java.lang.Object
  extended byorg.caleigo.security.ILoginInfoProvider.GuestUserLoginHandler
All Implemented Interfaces:
ILoginInfoProvider, java.io.Serializable
Enclosing class:
ILoginInfoProvider

public static class ILoginInfoProvider.GuestUserLoginHandler
extends java.lang.Object
implements java.io.Serializable, ILoginInfoProvider

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.caleigo.security.ILoginInfoProvider
ILoginInfoProvider.GuestUserLoginHandler
 
Field Summary
static int MAX_LOGIN_TRIES
           
 
Constructor Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_LOGIN_TRIES

public static final int MAX_LOGIN_TRIES
See Also:
Constant Field Values
Constructor Detail

ILoginInfoProvider.GuestUserLoginHandler

public ILoginInfoProvider.GuestUserLoginHandler()
Method Detail

getUserLoginInformation

public java.lang.Object getUserLoginInformation()
                                         throws java.lang.SecurityException
Returns an Object that represents user login information.

Specified by:
getUserLoginInformation in interface ILoginInfoProvider
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.

Specified by:
handleError in interface ILoginInfoProvider

getMaximumNumberOfLoginTries

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

Specified by:
getMaximumNumberOfLoginTries in interface ILoginInfoProvider


Copyright © 2005 Caleigo. All Rights Reserved.