|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
com.sun.management.snmp in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Defines the user based ACL used by the SNMP protocol adaptor.
| Method Summary | |
boolean |
checkContextName(String contextName)
Deprecated. Checks whether or not a context name is defined. |
boolean |
checkReadPermission(String user)
Deprecated. Checks whether or not the specified user has READ access. |
boolean |
checkReadPermission(String user,
String contextName,
int securityLevel)
Deprecated. Checks whether or not the specified user and context name have READ access. |
boolean |
checkWritePermission(String user)
Deprecated. Checks whether or not the specified user has WRITE access. |
boolean |
checkWritePermission(String user,
String contextName,
int securityLevel)
Deprecated. Checks whether or not the specified user and context name have WRITE access. |
String |
getName()
Deprecated. Returns the name of the ACL. |
| Method Detail |
public String getName()
public boolean checkReadPermission(String user)
READ access.
user - The user name to check.
true if the host has read permission, false otherwise.
public 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.public boolean checkContextName(String contextName)
contextName - The context name to check.
true if the context is known, false otherwise.public boolean checkWritePermission(String user)
WRITE access.
user - The user to check.
true if the user has write permission, false otherwise.
public 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.
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||