org.mmbase.security.implementation.cloud
Class Authenticate

java.lang.Object
  |
  +--org.mmbase.security.Authentication
        |
        +--org.mmbase.security.implementation.cloud.Authenticate

public class Authenticate
extends Authentication


Fields inherited from class org.mmbase.security.Authentication
configFile, fileWatcher, manager
 
Constructor Summary
Authenticate()
           
 
Method Summary
 boolean isValid(UserContext usercontext)
          The method returns the Rank of a UserContext
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 org.mmbase.security.Authentication
load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticate

public Authenticate()
Method Detail

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
Description copied from class: Authentication
The method returns the Rank of a UserContext
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