|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.security.Authorization
|
+--org.mmbase.security.NoAuthorization
This class does nothing
| Fields inherited from class org.mmbase.security.Authorization |
configFile, fileWatcher, manager |
| Constructor Summary | |
NoAuthorization()
|
|
| Method Summary | |
void |
assert(UserContext user,
int nodeid,
Operation operation)
This method does nothing |
boolean |
check(UserContext user,
int nodeid,
Operation operation)
This method does nothing |
void |
create(UserContext user,
int nodeid)
This method does nothing |
java.lang.String |
getContext(UserContext user,
int nodeid)
This method does nothing, except from giving a specified string back |
java.util.HashSet |
getPossibleContexts(UserContext user,
int nodeid)
This method does nothing, except from returning a dummy value |
protected void |
load()
This method does nothing |
void |
remove(UserContext user,
int nodeid)
This method does nothing |
void |
setContext(UserContext user,
int nodeid,
java.lang.String context)
This method does nothing, except from checking if the setContext was valid.. |
void |
update(UserContext user,
int nodeid)
This method does nothing |
| Methods inherited from class org.mmbase.security.Authorization |
load |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoAuthorization()
| Method Detail |
protected void load()
load in class Authorization
public void create(UserContext user,
int nodeid)
create in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information
about the user.nodeid - The id of the MMObjectNode, which has just been added to
the MMBase cloud.
public void update(UserContext user,
int nodeid)
update in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information
about the user.nodeid - The id of the MMObjectNode, which has just been changed
in the cloud.
public void remove(UserContext user,
int nodeid)
remove in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information
about the user.nodeid - The id of the MMObjectNode, which has just been removed
in the cloud.
public boolean check(UserContext user,
int nodeid,
Operation operation)
check in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information
about the user.nodeid - The id of the MMObjectNode, which has to be checked.operation - The operation which will be performed.true if the operation is permitted,
false if the operation is not permitted,
public void assert(UserContext user,
int nodeid,
Operation operation)
throws SecurityException
assert in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information
about the user.nodeid - The id of the MMObjectNode, which has to be asserted.operation - The operation which will be performed.org.mmbase.SecurityException - If the assertion fails
public java.lang.String getContext(UserContext user,
int nodeid)
throws SecurityException
getContext in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information about the user.nodeid - The id of the MMObjectNode, which has to be asserted.org.mmbase.SecurityException - If operation is not allowed(needs read rights)
public void setContext(UserContext user,
int nodeid,
java.lang.String context)
throws SecurityException
setContext in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information about the user.nodeid - The id of the MMObjectNode, which has to be asserted.context - The context which rights the node will getorg.mmbase.SecurityException - If operation is not allowedorg.mmbase.SecurityException - If context is not known
public java.util.HashSet getPossibleContexts(UserContext user,
int nodeid)
throws SecurityException
getPossibleContexts in class Authorizationorg.mmbase.security.Authorizationuser - The UserContext, containing the information
about the user.nodeid - The id of the MMObjectNode, which has to be asserted.java.util.HashSet of Strings which
represent a context in readable form..org.mmbase.SecurityException - maybe
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||