AdventNet WiFi Mediation API, v1.0

com.adventnet.wifi.mediation.beans
Class ACLBean

java.lang.Object
  extended bycom.adventnet.wifi.mediation.beans.AbstractBean
      extended bycom.adventnet.wifi.mediation.beans.ACLBean
All Implemented Interfaces:
ACLBeanConstants

public class ACLBean
extends AbstractBean
implements ACLBeanConstants

Class to hold access control information of the Access point. This class is primarily used to fetch the access control details from the Access point or to configure the same.


Field Summary
static int DENY
          Constant to represent deny access
static int PERMIT
          Constant to represent allow access.
 
Fields inherited from interface com.adventnet.wifi.mediation.ACLBeanConstants
ALLOWED_MAC, DEFAULT_ACTION, DELETE_MAC, DISALLOWED_MAC, ENABLE_ACL
 
Constructor Summary
ACLBean()
          Constructs a ACLBean.
 
Method Summary
 java.util.List getAllowedMACList()
          Fetches the list of mobile client MAC that are allowed access to WLAN via this particular Access point.
 int getDefaultAction()
          Fetches the default filter action.
 java.util.List getDisallowedMACList()
          Fetches the list of mobile client MAC that are not allowed access to WLAN via this particular Access point.
static java.lang.String[] getTemplateConstants()
          Used for internal purposes.
 boolean isACLEnabled()
          Returns the status of access control in the Access point that is whether access control is enabled or not.
 void setAllowedMACList(java.util.List list)
          Sets the list of mobile client MAC address in the Access point that should be allowed access to the WLAN.
 void setDefaultAction(int filterAction)
          Sets the default action.
 void setDisallowedMACList(java.util.List list)
          Sets the list of mobile client MAC address in the Access point that should not be allowed access to the WLAN.
 void setEnableACL(boolean aclStatus)
          Sets the Access control status, that is whether access control should be enabled or disabled in the Access point.
 java.lang.String toString()
          Returns this object as a string.
 
Methods inherited from class com.adventnet.wifi.mediation.beans.AbstractBean
getData, getOperationType, getRadioIndex, getRadioMac, getRadioMode, setOperationType, setRadioIndex, setRadioMac, setRadioMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PERMIT

public static final int PERMIT
Constant to represent allow access.

See Also:
Constant Field Values

DENY

public static final int DENY
Constant to represent deny access

See Also:
Constant Field Values
Constructor Detail

ACLBean

public ACLBean()
Constructs a ACLBean.

Method Detail

setEnableACL

public void setEnableACL(boolean aclStatus)
Sets the Access control status, that is whether access control should be enabled or disabled in the Access point.

Parameters:
aclStatus - To enable set it to true otherwise false.

isACLEnabled

public boolean isACLEnabled()
Returns the status of access control in the Access point that is whether access control is enabled or not.

Returns:
Access Control status of the access point.

setDisallowedMACList

public void setDisallowedMACList(java.util.List list)
Sets the list of mobile client MAC address in the Access point that should not be allowed access to the WLAN.

Parameters:
list - the list of client MAC for which the WLAN access should be blocked.

getDisallowedMACList

public java.util.List getDisallowedMACList()
Fetches the list of mobile client MAC that are not allowed access to WLAN via this particular Access point.

Returns:
list of client mac that are not allowed access to WLAN via this Access point.

setAllowedMACList

public void setAllowedMACList(java.util.List list)
Sets the list of mobile client MAC address in the Access point that should be allowed access to the WLAN.

Parameters:
list - the list of client MAC for which the WLAN access should be allowed.

getAllowedMACList

public java.util.List getAllowedMACList()
Fetches the list of mobile client MAC that are allowed access to WLAN via this particular Access point.

Returns:
list of client mac that are not allowed access to WLAN via this Access point.

setDefaultAction

public void setDefaultAction(int filterAction)
Sets the default action. That is if a particular client MAC address is neither in the allowed list nor in the disallowed list what should be the default action, should it be blocked or should it be allowed access.

Parameters:
filterAction - the default filter action
See Also:
PERMIT, DENY

getDefaultAction

public int getDefaultAction()
Fetches the default filter action.

Returns:
the global filter action.
See Also:
setDefaultAction(int), PERMIT, DENY

toString

public java.lang.String toString()
Returns this object as a string.

Returns:
the string representation of this object.

getTemplateConstants

public static java.lang.String[] getTemplateConstants()
Description copied from class: AbstractBean
Used for internal purposes.


AdventNet WiFi Mediation API, v1.0

Copyright © 2005 AdventNet Inc. All Rights Reserved.