diff options
Diffstat (limited to 'pki/base/util/src/com/netscape/cmsutil/radius')
59 files changed, 72 insertions, 295 deletions
diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/AccessAccept.java b/pki/base/util/src/com/netscape/cmsutil/radius/AccessAccept.java index adff75a96..c5f9828c1 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/AccessAccept.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/AccessAccept.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class AccessAccept extends ServerPacket { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/AccessChallenge.java b/pki/base/util/src/com/netscape/cmsutil/radius/AccessChallenge.java index 4db3ea935..bab34ffe9 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/AccessChallenge.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/AccessChallenge.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class AccessChallenge extends ServerPacket { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/AccessReject.java b/pki/base/util/src/com/netscape/cmsutil/radius/AccessReject.java index 96e4b1fae..12081a6b9 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/AccessReject.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/AccessReject.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class AccessReject extends ServerPacket { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/AccessRequest.java b/pki/base/util/src/com/netscape/cmsutil/radius/AccessRequest.java index 4098bbf15..5075f9325 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/AccessRequest.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/AccessRequest.java @@ -18,11 +18,6 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; public class AccessRequest extends NASPacket { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/Attribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/Attribute.java index 16e60bb55..33c1f3929 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/Attribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/Attribute.java @@ -18,11 +18,8 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.ByteArrayOutputStream; +import java.io.IOException; public abstract class Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/AttributeFactory.java b/pki/base/util/src/com/netscape/cmsutil/radius/AttributeFactory.java index 1290011fe..bf2369721 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/AttributeFactory.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/AttributeFactory.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class AttributeFactory { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/AttributeSet.java b/pki/base/util/src/com/netscape/cmsutil/radius/AttributeSet.java index 4c17f441d..e79b96f7c 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/AttributeSet.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/AttributeSet.java @@ -18,11 +18,8 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.util.Enumeration; +import java.util.Vector; public class AttributeSet { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/Authenticator.java b/pki/base/util/src/com/netscape/cmsutil/radius/Authenticator.java index 7fe060975..3236d9b65 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/Authenticator.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/Authenticator.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public abstract class Authenticator { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/CHAPChallengeAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/CHAPChallengeAttribute.java index 5ddc186bc..8b2655c2e 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/CHAPChallengeAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/CHAPChallengeAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class CHAPChallengeAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/CHAPPasswordAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/CHAPPasswordAttribute.java index 063ce891c..90ebea144 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/CHAPPasswordAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/CHAPPasswordAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class CHAPPasswordAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/CallbackIdAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/CallbackIdAttribute.java index c4c175be2..894ae9c89 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/CallbackIdAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/CallbackIdAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class CallbackIdAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/CallbackNumberAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/CallbackNumberAttribute.java index 818930170..96e4af79e 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/CallbackNumberAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/CallbackNumberAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class CallbackNumberAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/CallerStationIdAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/CallerStationIdAttribute.java index a0afb3fcd..05e4836d6 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/CallerStationIdAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/CallerStationIdAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class CallerStationIdAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/CallingStationIdAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/CallingStationIdAttribute.java index 162d7098e..b1f77b694 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/CallingStationIdAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/CallingStationIdAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class CallingStationIdAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java b/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java index bdcd77abc..06a870b50 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ChallengeException.java @@ -18,11 +18,6 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; public class ChallengeException extends Exception { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FilterIdAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FilterIdAttribute.java index 15b8940d4..c8d9abf8e 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FilterIdAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FilterIdAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FilterIdAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkLinkAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkLinkAttribute.java index 649442fa2..2176fbc02 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkLinkAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkLinkAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedAppleTalkLinkAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkNetworkAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkNetworkAttribute.java index e59449862..6ea0c05ff 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkNetworkAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkNetworkAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedAppleTalkNetworkAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkZoneAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkZoneAttribute.java index 18f064448..3ea8c654f 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkZoneAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedAppleTalkZoneAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedAppleTalkZoneAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedCompressionAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedCompressionAttribute.java index 9b2f398cc..cf21b9fda 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedCompressionAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedCompressionAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedCompressionAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPAddressAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPAddressAttribute.java index 55b313a1b..1fac0a3f0 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPAddressAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPAddressAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedIPAddressAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPNetmaskAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPNetmaskAttribute.java index c8f7324f2..9350fac11 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPNetmaskAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPNetmaskAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedIPNetmaskAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPXNetworkAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPXNetworkAttribute.java index 448dbb5de..900c46c00 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPXNetworkAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedIPXNetworkAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedIPXNetworkAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedMTUAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedMTUAttribute.java index 0c9de7268..b3a362337 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedMTUAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedMTUAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedMTUAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedProtocolAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedProtocolAttribute.java index a13321c8d..1acee4ce7 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedProtocolAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedProtocolAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedProtocolAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedRouteAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedRouteAttribute.java index 07777bd12..bc49adb06 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedRouteAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedRouteAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedRouteAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/FramedRoutingAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/FramedRoutingAttribute.java index ade7e34f2..1ea4e334f 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/FramedRoutingAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/FramedRoutingAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class FramedRoutingAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/GenericAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/GenericAttribute.java index df42fb6f9..c368a2712 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/GenericAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/GenericAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class GenericAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/IdleTimeoutAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/IdleTimeoutAttribute.java index 513c1077f..38b45a6c8 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/IdleTimeoutAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/IdleTimeoutAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class IdleTimeoutAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginIPHostAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginIPHostAttribute.java index 2f8dae725..7bfe179ff 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginIPHostAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginIPHostAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginIPHostAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATGroupAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATGroupAttribute.java index 5c1891f78..93a507661 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATGroupAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATGroupAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginLATGroupAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATNodeAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATNodeAttribute.java index 55948d443..38b4b315f 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATNodeAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATNodeAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginLATNodeAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATPortAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATPortAttribute.java index a0e61ab98..056b0fc43 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATPortAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATPortAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginLATPortAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATServiceAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATServiceAttribute.java index 7116630ac..7409a83a4 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATServiceAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginLATServiceAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginLATServiceAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginServiceAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginServiceAttribute.java index 1dcd12b2f..88f5623be 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginServiceAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginServiceAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginServiceAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/LoginTCPPortAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/LoginTCPPortAttribute.java index b7921c3a8..0c924f695 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/LoginTCPPortAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/LoginTCPPortAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class LoginTCPPortAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/NASClassAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/NASClassAttribute.java index 539c259f9..ba644f201 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/NASClassAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/NASClassAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class NASClassAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/NASIPAddressAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/NASIPAddressAttribute.java index 3b9e438ff..42dc1a19b 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/NASIPAddressAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/NASIPAddressAttribute.java @@ -18,11 +18,8 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; +import java.net.InetAddress; public class NASIPAddressAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/NASIdentifierAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/NASIdentifierAttribute.java index 3cc67d8ec..99917cac7 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/NASIdentifierAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/NASIdentifierAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class NASIdentifierAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/NASPacket.java b/pki/base/util/src/com/netscape/cmsutil/radius/NASPacket.java index 86eec6dbf..b270eadde 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/NASPacket.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/NASPacket.java @@ -18,11 +18,8 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.ByteArrayOutputStream; +import java.io.IOException; public abstract class NASPacket extends Packet { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/NASPortAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/NASPortAttribute.java index ebf1aa218..949fa4759 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/NASPortAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/NASPortAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class NASPortAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/NASPortTypeAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/NASPortTypeAttribute.java index a6e40ae4b..ca7cf7b09 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/NASPortTypeAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/NASPortTypeAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class NASPortTypeAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/Packet.java b/pki/base/util/src/com/netscape/cmsutil/radius/Packet.java index cd0e5a881..4af445639 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/Packet.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/Packet.java @@ -18,11 +18,6 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; public abstract class Packet { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/PacketFactory.java b/pki/base/util/src/com/netscape/cmsutil/radius/PacketFactory.java index 9bd5d1921..c9dd1620a 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/PacketFactory.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/PacketFactory.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class PacketFactory { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/PortLimitAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/PortLimitAttribute.java index 41d185e88..602603cb6 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/PortLimitAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/PortLimitAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class PortLimitAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ProxyStateAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/ProxyStateAttribute.java index 91210b354..ef04ae0ca 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ProxyStateAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ProxyStateAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class ProxyStateAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/RadiusConn.java b/pki/base/util/src/com/netscape/cmsutil/radius/RadiusConn.java index 5d16cd8a2..1c09ea2c4 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/RadiusConn.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/RadiusConn.java @@ -18,11 +18,15 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; +import java.io.InterruptedIOException; +import java.net.DatagramPacket; +import java.net.DatagramSocket; +import java.net.InetAddress; +import java.net.SocketException; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.util.Properties; /** diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java b/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java index 1a76e7603..a0de446bd 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/RejectException.java @@ -18,11 +18,6 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; public class RejectException extends Exception { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ReplyMessageAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/ReplyMessageAttribute.java index dd1fc29d1..094a51730 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ReplyMessageAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ReplyMessageAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class ReplyMessageAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/RequestAuthenticator.java b/pki/base/util/src/com/netscape/cmsutil/radius/RequestAuthenticator.java index eaba2077a..108b51451 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/RequestAuthenticator.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/RequestAuthenticator.java @@ -18,11 +18,10 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; public class RequestAuthenticator extends Authenticator { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ResponseAuthenticator.java b/pki/base/util/src/com/netscape/cmsutil/radius/ResponseAuthenticator.java index 509ddc35d..93fd46c39 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ResponseAuthenticator.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ResponseAuthenticator.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class ResponseAuthenticator extends Authenticator { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ServerPacket.java b/pki/base/util/src/com/netscape/cmsutil/radius/ServerPacket.java index c349fed9a..abbe255fc 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ServerPacket.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ServerPacket.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public abstract class ServerPacket extends Packet { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/ServiceTypeAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/ServiceTypeAttribute.java index 7de8cfb01..7ab143f79 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/ServiceTypeAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/ServiceTypeAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class ServiceTypeAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/SessionTimeoutAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/SessionTimeoutAttribute.java index f83690d6f..fcbf69425 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/SessionTimeoutAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/SessionTimeoutAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class SessionTimeoutAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/StateAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/StateAttribute.java index c18e59880..4408819a6 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/StateAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/StateAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class StateAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/TerminationActionAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/TerminationActionAttribute.java index 1a554ea2d..67f214adf 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/TerminationActionAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/TerminationActionAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class TerminationActionAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/UserNameAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/UserNameAttribute.java index 4e725ac3f..ccc715e54 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/UserNameAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/UserNameAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class UserNameAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/UserPasswordAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/UserPasswordAttribute.java index 4550081ae..938652e09 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/UserPasswordAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/UserPasswordAttribute.java @@ -18,11 +18,9 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; public class UserPasswordAttribute extends Attribute { diff --git a/pki/base/util/src/com/netscape/cmsutil/radius/VendorSpecificAttribute.java b/pki/base/util/src/com/netscape/cmsutil/radius/VendorSpecificAttribute.java index 1d19a5055..e3f174160 100644 --- a/pki/base/util/src/com/netscape/cmsutil/radius/VendorSpecificAttribute.java +++ b/pki/base/util/src/com/netscape/cmsutil/radius/VendorSpecificAttribute.java @@ -18,11 +18,7 @@ package com.netscape.cmsutil.radius; -import java.util.*; -import java.math.*; -import java.security.*; -import java.net.*; -import java.io.*; +import java.io.IOException; public class VendorSpecificAttribute extends Attribute { |