|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserAcl
Defines the user based ACL used by the SNMP protocol adaptor.
Method Summary | |
---|---|
boolean |
checkContextName(String contextName)
Checks whether or not a context name is defined. |
boolean |
checkReadPermission(String user)
Checks whether or not the specified user has READ access. |
boolean |
checkReadPermission(String user,
String contextName,
int securityLevel)
Checks whether or not the specified user and context name have READ access. |
boolean |
checkWritePermission(String user)
Checks whether or not the specified user has WRITE access. |
boolean |
checkWritePermission(String user,
String contextName,
int securityLevel)
Checks whether or not the specified user and context name have WRITE access. |
String |
getName()
Returns the name of the ACL. |
Method Detail |
---|
String getName()
boolean checkReadPermission(String user)
READ
access.
user
- The user name to check.
true
if the host has read permission, false
otherwise.boolean checkReadPermission(String user, String contextName, int securityLevel)
READ
access.
user
- The user name to check.contextName
- The context name associated with the user.securityLevel
- The request security level.
true
if the pair (user, context) has read permission, false
otherwise.boolean checkContextName(String contextName)
contextName
- The context name to check.
true
if the context is known, false
otherwise.boolean checkWritePermission(String user)
WRITE
access.
user
- The user to check.
true
if the user has write permission, false
otherwise.boolean checkWritePermission(String user, String contextName, int securityLevel)
WRITE
access.
user
- The user name to check.contextName
- The context name associated with the user.securityLevel
- The request security level.
true
if the pair (user, context) has write permission, false
otherwise.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |