edu.internet2.middleware.shibboleth.idp.authn.provider
Class IPAddressLoginHandler.IPEntry

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.idp.authn.provider.IPAddressLoginHandler.IPEntry
Enclosing class:
IPAddressLoginHandler

protected class IPAddressLoginHandler.IPEntry
extends Object

Encapsulates a network address and a netmask on ipList.


Constructor Summary
IPAddressLoginHandler.IPEntry(String entry)
          Construct a new IPEntry given a network address in CIDR format.
 
Method Summary
 BitSet getNetmask()
          Get the netmask.
 BitSet getNetworkAddress()
          Get the network address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPAddressLoginHandler.IPEntry

public IPAddressLoginHandler.IPEntry(String entry)
                              throws UnknownHostException
Construct a new IPEntry given a network address in CIDR format.

Parameters:
entry - A CIDR-formatted network address/netmask
Throws:
UnknownHostException - If entry is malformed.
Method Detail

getNetworkAddress

public BitSet getNetworkAddress()
Get the network address.

Returns:
the network address.

getNetmask

public BitSet getNetmask()
Get the netmask.

Returns:
the netmask.


Copyright © 2006-2008 Internet2. All Rights Reserved.