org.mmbase.security.implementation.context
Class ContextLoginModule

java.lang.Object
  extended byorg.mmbase.security.implementation.context.ContextLoginModule
Direct Known Subclasses:
AnonymousLogin, ClassLogin, PasswordLogin

public abstract class ContextLoginModule
extends Object

Class ContextLoginModule

Version:
$Id: ContextLoginModule.java,v 1.19 2005/12/29 20:43:16 michiel Exp $
Author:
Eduard Witteveen
Warning: No Java Documentation Available.

Constructor Summary
ContextLoginModule()
           
 
Method Summary
protected  Element getAccount(String userName)
          Gets accounts for this authentication module
protected  Element getAccount(String userName, String identifyType, String rank)
          Search an account for a given user name and identify type (the 'module').
protected  String getModuleValue(String userName)
          Deprecated. Use getAccount(java.lang.String)
protected  Rank getRank(String username)
           
protected  Rank getRank(String username, String identifyType)
           
protected  ContextUserContext getValidUserContext(String username, Rank rank)
           
 void load(Document document, long validKey, String name, MMBaseCop manager)
           
abstract  ContextUserContext login(Map userLoginInfo, Object[] userParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextLoginModule

public ContextLoginModule()
Method Detail

load

public void load(Document document,
                 long validKey,
                 String name,
                 MMBaseCop manager)
          throws SecurityException
Throws:
SecurityException

login

public abstract ContextUserContext login(Map userLoginInfo,
                                         Object[] userParameters)
                                  throws SecurityException
Throws:
SecurityException

getValidUserContext

protected ContextUserContext getValidUserContext(String username,
                                                 Rank rank)
                                          throws SecurityException
Throws:
SecurityException

getRank

protected Rank getRank(String username)
                throws SecurityException
Throws:
SecurityException

getRank

protected Rank getRank(String username,
                       String identifyType)
                throws SecurityException
Throws:
SecurityException
Since:
MMBase-1.8

getAccount

protected Element getAccount(String userName)
                      throws SecurityException
Gets accounts for this authentication module

Throws:
SecurityException
Since:
MMBase-1.8

getModuleValue

protected String getModuleValue(String userName)
                         throws SecurityException
Deprecated. Use getAccount(java.lang.String)

Throws:
SecurityException

getAccount

protected Element getAccount(String userName,
                             String identifyType,
                             String rank)
                      throws SecurityException
Search an account for a given user name and identify type (the 'module').

Returns:
The user Element.
Throws:
SecurityException
Since:
MMBase-1.8


MMBase build 1.8.1.20060716