com.dbxml.db.common.security
Class NoSecurityManager
java.lang.Object
com.dbxml.util.SimpleConfigurable
com.dbxml.db.common.security.SecurityManagerBase
com.dbxml.db.common.security.NoSecurityManager
- All Implemented Interfaces:
- Configurable, SecurityManager
- public final class NoSecurityManager
- extends SecurityManagerBase
NoSecurityManager is the class that is instantiated if no
SecurityManager implementation is defined by default.
Method Summary |
void |
access(java.lang.String path,
int mask)
access performs an access control check against the SecurityManager's
access control lists. |
void |
authenticate(java.lang.String userID,
java.lang.String password)
authenticate checks a User against the SecurityManager's access
control lists. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoSecurityManager
public NoSecurityManager()
authenticate
public void authenticate(java.lang.String userID,
java.lang.String password)
throws SecurityException
- Description copied from interface:
SecurityManager
- authenticate checks a User against the SecurityManager's access
control lists. If the user ID and password do not check out,
a SecurityException is thrown.
- Parameters:
userID
- the User ID to checkpassword
- the Password to check
- Throws:
SecurityException
access
public void access(java.lang.String path,
int mask)
throws SecurityException
- Description copied from interface:
SecurityManager
- access performs an access control check against the SecurityManager's
access control lists. If the current user isn't allowed to access
the specified path with the defined permission mask, a
SecurityException is thrown.
- Parameters:
path
- the resource path being accessedmask
- The access mask to check against
- Throws:
SecurityException
Copyright (c) 2004 The dbXML Group