|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.security.Authentication
|
+--org.mmbase.security.implementation.context.ContextAuthentication
Authentication based on a config..
| Fields inherited from class org.mmbase.security.Authentication |
configFile, fileWatcher, manager |
| Constructor Summary | |
ContextAuthentication()
|
|
| 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 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 |
public ContextAuthentication()
| Method Detail |
protected void load()
Authenticationload in class Authentication
public UserContext login(java.lang.String moduleName,
java.util.Map loginInfo,
java.lang.Object[] parameters)
throws SecurityException
Authenticationlogin in class Authenticationorg.mmbase.security.Authenticationmanager - 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 nullnullThrows:SecurityException - When something strang happend
public boolean isValid(UserContext usercontext)
throws SecurityException
isValid in class Authenticationorg.mmbase.security.Authenticationusercontext - The UserContext of which we want to know the rightstrue when valid, otherwise falseSecurityException - When something strang happend
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||