|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.capsd.AbstractPlugin
org.opennms.netmgt.capsd.plugins.RadiusAuthPlugin
public final class RadiusAuthPlugin
This plugin is used to check a host for Radius Authentication support. This is done by sending a radius auth packet to the host. If a valid radius response is received (ACCEPT, REJECT or CHALLENGE) then the host is considered a Radius server. uses the JRadius class library.
| Field Summary | |
|---|---|
static int |
DEFAULT_ACCT_PORT
Default radius accounting port |
static int |
DEFAULT_AUTH_PORT
Default radius authentication port |
static String |
DEFAULT_AUTH_TYPE
Default radius authentication type |
static String |
DEFAULT_PASSWORD
Default password |
static int |
DEFAULT_RETRY
Default number of times to retry a test |
static String |
DEFAULT_SECRET
Default secret |
static int |
DEFAULT_TIMEOUT
Number of milliseconds to wait before timing out a radius AUTH request |
static String |
DEFAULT_USER
Default user |
| Constructor Summary | |
|---|---|
RadiusAuthPlugin()
|
|
| Method Summary | |
|---|---|
String |
getProtocolName()
Returns the name of the protocol that this plugin checks on the target system for support. |
boolean |
isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported. |
boolean |
isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
Returns true if the protocol defined by this plugin is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_TIMEOUT
public static final int DEFAULT_RETRY
public static final int DEFAULT_AUTH_PORT
public static final int DEFAULT_ACCT_PORT
public static final String DEFAULT_AUTH_TYPE
public static final String DEFAULT_USER
public static final String DEFAULT_PASSWORD
public static final String DEFAULT_SECRET
| Constructor Detail |
|---|
public RadiusAuthPlugin()
| Method Detail |
|---|
public String getProtocolName()
getProtocolName in interface PlugingetProtocolName in class AbstractPluginpublic boolean isProtocolSupported(InetAddress address)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.
public boolean isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. The qualifier map passed to the method is used by the plugin to return additional information by key-name. These key-value pairs can be added to service events if needed.
In addition, the input qualifiers map also provides information about how the plugin should contact the remote server. The plugin may check the qualifier map for specific elements and then adjust its behavior as necessary
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.qualifiers - The map where qualification are set by the plugin.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||