Lines Matching defs:community
134 * Returns ann enumeration of community strings. Community strings are returned as String.
135 * @return The enumeration of community strings.
263 * Checks whether or not the specified host and community have <CODE>READ</CODE> access.
266 * @param community The community associated with the host.
268 * @return <CODE>true</CODE> if the pair (host, community) has read permission, <CODE>false</CODE> otherwise.
270 public boolean checkReadPermission(InetAddress address, String community) {
273 return acl.checkPermission(p, community, READ);
277 * Checks whether or not a community string is defined.
279 * @param community The community to check.
281 * @return <CODE>true</CODE> if the community is known, <CODE>false</CODE> otherwise.
283 public boolean checkCommunity(String community) {
284 return acl.checkCommunity(community);
301 * Checks whether or not the specified host and community have <CODE>WRITE</CODE> access.
304 * @param community The community associated with the host.
306 * @return <CODE>true</CODE> if the pair (host, community) has write permission, <CODE>false</CODE> otherwise.
308 public boolean checkWritePermission(InetAddress address, String community) {
311 return acl.checkPermission(p, community, WRITE);