com.tivoli.pd.jadmin
Class PDPop.IPAuthInfo

java.lang.Object
  |
  +--com.tivoli.pd.jadmin.PDPop.IPAuthInfo
Enclosing class:
PDPop

public static class PDPop.IPAuthInfo
extends java.lang.Object

Class that represents information associated with the IP authentication policy.


Field Summary
static long IPAUTH_LEVEL_FORBIDDEN_ALL_NETWORKS
          String constant representing the FORBIDDEN_ALL_NETWORKS IP authentication level policy.
 
Constructor Summary
PDPop.IPAuthInfo(PDContext context, java.lang.String ipAddr, java.lang.String netmask, long ipAuthLevel, PDMessages messages)
          Constructs a PDAuthLevelInfo object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether this PDPop.IPAuthInfo is equivalent to the input object.
 java.lang.String getIPAddr()
          Returns the IP address in this IPAuthInfo object as a "%d.%d.%d.%d" String value.
 long getIPAuthLevel()
          Returns the IP authentication level in this IPAuthInfo object.
 java.lang.String getNetmask()
          Returns the netmask in this IPAuthInfo object as a "%d.%d.%d.%d" String value.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IPAUTH_LEVEL_FORBIDDEN_ALL_NETWORKS

public static final long IPAUTH_LEVEL_FORBIDDEN_ALL_NETWORKS
String constant representing the FORBIDDEN_ALL_NETWORKS IP authentication level policy.
Constructor Detail

PDPop.IPAuthInfo

public PDPop.IPAuthInfo(PDContext context,
                        java.lang.String ipAddr,
                        java.lang.String netmask,
                        long ipAuthLevel,
                        PDMessages messages)
                 throws PDException
Constructs a PDAuthLevelInfo object.
Parameters:
ipAddr - the IP address (in "%d.%d.%d.%d" format) associated with the credentials for which access to the protected object that this POP is attached to is being checked. A value of "0.0.0.0" is interpreted as setting this policy for any other network for which this policy is not set explicitly.
netmask - the "%d.%d.%d.%d" netmask associated with the credentials for which access to the protected object that this POP is attached to is being checked. A value of "0.0.0.0" is interpreted as setting this policy for any other network for which this policy is not set explicitly.
ipAuthLevel - IP authentication level for the POP. Specifies the authentication level of the credentials for the specified IP address and netmask when trying to access the protected object to which this POP is attached. Use PDPOP_IPAUTH_LEVEL_FORBIDDEN_ALL_NETWORKS to forbid access from all networks. Refer to the Access Manager Base Administrator's Guide for more information about IP authentication POP policy.
Method Detail

getIPAddr

public java.lang.String getIPAddr()
Returns the IP address in this IPAuthInfo object as a "%d.%d.%d.%d" String value.

getNetmask

public java.lang.String getNetmask()
Returns the netmask in this IPAuthInfo object as a "%d.%d.%d.%d" String value.

getIPAuthLevel

public long getIPAuthLevel()
Returns the IP authentication level in this IPAuthInfo object.

toString

public java.lang.String toString()
Returns a String representation of this object.
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Determines whether this PDPop.IPAuthInfo is equivalent to the input object.
Overrides:
equals in class java.lang.Object