| java.lang.Object org.mmbase.security.Configurable org.mmbase.security.Authorization org.mmbase.security.NoAuthorization
NoAuthorization | final public class NoAuthorization extends Authorization (Code) | | This class is used when no authorization is configured. Everything is allowed.
author: Eduard Witteveen version: $Id: NoAuthorization.java,v 1.11 2005/01/30 16:46:34 nico Exp $ |
Method Summary | |
public boolean | check(UserContext user, int nodeid, Operation operation) | public boolean | check(UserContext user, int nodeid, int srcNodeid, int dstNodeid, Operation operation) | public QueryCheck | check(UserContext user, org.mmbase.bridge.Query query, Operation operation) | public void | create(UserContext user, int nodeid) | public String | getContext(UserContext user, int nodeid) | public Set | getPossibleContexts(UserContext user, int nodeid) | protected void | load() | public void | remove(UserContext user, int nodeid) | public void | setContext(UserContext user, int nodeid, String context) Since this is not authorization, we simply allow every change of context. | public void | update(UserContext user, int nodeid) | public void | verify(UserContext user, int nodeid, Operation operation) | public void | verify(UserContext user, int nodeid, int srcNodeid, int dstNodeid, Operation operation) |
check | public boolean check(UserContext user, int nodeid, Operation operation)(Code) | | No authorization means that everyting is allowed
true |
check | public boolean check(UserContext user, int nodeid, int srcNodeid, int dstNodeid, Operation operation)(Code) | | No authorization means that everyting is allowed
true |
create | public void create(UserContext user, int nodeid)(Code) | | This method does nothing
|
load | protected void load()(Code) | | This method does nothing
|
remove | public void remove(UserContext user, int nodeid)(Code) | | This method does nothing
|
update | public void update(UserContext user, int nodeid)(Code) | | This method does nothing
|
Fields inherited from org.mmbase.security.Authorization | final public static QueryCheck COMPLETE_CHECK(Code)(Java Doc) final public static QueryCheck NO_CHECK(Code)(Java Doc)
|
Methods inherited from org.mmbase.security.Authorization | abstract public boolean check(UserContext user, int nodeid, Operation operation)(Code)(Java Doc) abstract public boolean check(UserContext user, int nodeid, int srcnodeid, int dstnodeid, Operation operation)(Code)(Java Doc) public boolean check(UserContext user, Action ac, Parameters parameters)(Code)(Java Doc) public QueryCheck check(UserContext user, Query query, Operation operation)(Code)(Java Doc) abstract public void create(UserContext user, int nodeid)(Code)(Java Doc) abstract public String getContext(UserContext user, int nodeid) throws SecurityException(Code)(Java Doc) abstract public Set<String> getPossibleContexts(UserContext user, int nodeid) throws SecurityException(Code)(Java Doc) public Set<String> getPossibleContexts(UserContext user) throws SecurityException(Code)(Java Doc) abstract public void remove(UserContext user, int nodeid)(Code)(Java Doc) abstract public void setContext(UserContext user, int nodeid, String context) throws SecurityException(Code)(Java Doc) abstract public void update(UserContext user, int nodeid)(Code)(Java Doc) public void verify(UserContext user, int nodeid, Operation operation) throws SecurityException(Code)(Java Doc) public void verify(UserContext user, int nodeid, int srcnodeid, int dstnodeid, Operation operation) throws SecurityException(Code)(Java Doc) final public void verify(UserContext user, Action ac, Parameters parameters)(Code)(Java Doc)
|
|
|