org.mmbase.security.implementation.basic
Class AuthenticationHandler
java.lang.Object
|
+--org.mmbase.security.Authentication
|
+--org.mmbase.security.implementation.basic.AuthenticationHandler
- public class AuthenticationHandler
- extends Authentication
Authentication based on a config file..
- Version:
- $Id: AuthenticationHandler.java,v 1.4 2002/10/25 13:23:25 michiel Exp $
- Author:
- Eduard Witteveen
|
Method Summary |
boolean |
isValid(UserContext usercontext)
this method does nothing.. |
protected void |
load()
This method could be overrided by an extending class. |
UserContext |
login(java.lang.String moduleName,
java.util.Map loginInfo,
java.lang.Object[] parameters)
This method will verify the login, and give a UserContext back if everything
was valid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationHandler
public AuthenticationHandler()
load
protected void load()
- Description copied from class:
Authentication
- This method could be overrided by an extending class.
It should set the settings for this class, and when needed
retrieve them from the file at location configPath.
- Overrides:
load in class Authentication
login
public UserContext login(java.lang.String moduleName,
java.util.Map loginInfo,
java.lang.Object[] parameters)
throws SecurityException
- Description copied from class:
Authentication
- This method will verify the login, and give a UserContext back if everything
was valid
- Overrides:
login in class Authentication
- Following copied from class:
org.mmbase.security.Authentication
- Parameters:
manager - The class that created this instance.configPath - The url which contains the config information for.
the authorization.parameters - a list of optional parameters, may also be null- Returns:
nullThrows:SecurityException - When something strang happend
isValid
public boolean isValid(UserContext usercontext)
throws SecurityException
- this method does nothing..
- Overrides:
isValid in class Authentication
- Following copied from class:
org.mmbase.security.Authentication
- Parameters:
usercontext - The UserContext of which we want to know the rights- Returns:
true when valid, otherwise false- Throws:
SecurityException - When something strang happend
MMBase build 1.6.5.20030923