org.caleigo.security
Class ILoginHandler.DefaultLoginHandler

java.lang.Object
  extended byorg.caleigo.security.ILoginHandler.DefaultLoginHandler
All Implemented Interfaces:
ILoginHandler
Enclosing class:
ILoginHandler

public static class ILoginHandler.DefaultLoginHandler
extends java.lang.Object
implements ILoginHandler

Default implementation of ILoginHandler that acceps all logins and logouts. All logins gets the user is guest.


Nested Class Summary
 
Nested classes inherited from class org.caleigo.security.ILoginHandler
ILoginHandler.DefaultLoginHandler
 
Constructor Summary
ILoginHandler.DefaultLoginHandler()
           
 
Method Summary
 UserInfo login(java.lang.Object loginInformation)
          Tries to log in a user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ILoginHandler.DefaultLoginHandler

public ILoginHandler.DefaultLoginHandler()
Method Detail

login

public UserInfo login(java.lang.Object loginInformation)
Tries to log in a user.

Specified by:
login in interface ILoginHandler
Parameters:
loginInformation - An object that contains login information, such as user name, password.
Returns:
A UserInfo object if succesfull, null otherwise.
Throws:
java.lang.SecurityException - if the login fails.


Copyright © 2005 Caleigo. All Rights Reserved.