summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/authentication
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-09 13:56:59 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-12 10:16:22 -0500
commit7d88f4ee050856b8fef5f260cfe1b3aeec201fda (patch)
tree9d0b80dcbcc63ccb83d32995376168dcd086bab9 /base/common/src/com/netscape/cms/authentication
parent3f24e55923fc986af4c6a08b2b8d45704a905627 (diff)
downloadpki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.tar.gz
pki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.tar.xz
pki-7d88f4ee050856b8fef5f260cfe1b3aeec201fda.zip
Removed unused private fields.
Most of unused private fields have been removed because they generate warnings in Eclipse. Some are kept because it might be useful later. Ticket #139
Diffstat (limited to 'base/common/src/com/netscape/cms/authentication')
-rw-r--r--base/common/src/com/netscape/cms/authentication/AVAPattern.java2
-rw-r--r--base/common/src/com/netscape/cms/authentication/AgentCertAuthentication.java5
-rw-r--r--base/common/src/com/netscape/cms/authentication/HashAuthentication.java7
-rw-r--r--base/common/src/com/netscape/cms/authentication/SSLclientCertAuthentication.java6
-rw-r--r--base/common/src/com/netscape/cms/authentication/TokenAuthentication.java7
-rw-r--r--base/common/src/com/netscape/cms/authentication/UidPwdPinDirAuthentication.java3
6 files changed, 1 insertions, 29 deletions
diff --git a/base/common/src/com/netscape/cms/authentication/AVAPattern.java b/base/common/src/com/netscape/cms/authentication/AVAPattern.java
index 823b396e9..3e984c0cc 100644
--- a/base/common/src/com/netscape/cms/authentication/AVAPattern.java
+++ b/base/common/src/com/netscape/cms/authentication/AVAPattern.java
@@ -130,8 +130,6 @@ class AVAPattern {
public static final String TYPE_RDN = "$rdn";
public static final String TYPE_CONSTANT = "constant";
- private static final char[] endChars = new char[] { '+', ',' };
-
private static final LdapV3DNStrConverter mLdapDNStrConverter =
new LdapV3DNStrConverter();
diff --git a/base/common/src/com/netscape/cms/authentication/AgentCertAuthentication.java b/base/common/src/com/netscape/cms/authentication/AgentCertAuthentication.java
index b8216d6bc..c65dd3971 100644
--- a/base/common/src/com/netscape/cms/authentication/AgentCertAuthentication.java
+++ b/base/common/src/com/netscape/cms/authentication/AgentCertAuthentication.java
@@ -35,7 +35,6 @@ import com.netscape.certsrv.authentication.ISSLClientCertProvider;
import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.base.IConfigStore;
import com.netscape.certsrv.base.SessionContext;
-import com.netscape.certsrv.logging.ILogger;
import com.netscape.certsrv.profile.EProfileException;
import com.netscape.certsrv.profile.IProfile;
import com.netscape.certsrv.profile.IProfileAuthenticator;
@@ -78,10 +77,6 @@ public class AgentCertAuthentication implements IAuthManager,
private IUGSubsystem mUGSub = null;
private ICertUserLocator mCULocator = null;
- private ILogger mLogger = CMS.getLogger();
-
- private IConfigStore mRevocationChecking = null;
- private String mRequestor = null;
public AgentCertAuthentication() {
}
diff --git a/base/common/src/com/netscape/cms/authentication/HashAuthentication.java b/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
index b9808e639..9ebf8a7c0 100644
--- a/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
+++ b/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
@@ -55,12 +55,7 @@ public class HashAuthentication implements IAuthManager, IExtendedPluginInfo {
protected static String[] mRequiredCreds = { CRED_UID,
CRED_PAGEID, CRED_FINGERPRINT, CRED_HOST };
public static final long DEFAULT_TIMEOUT = 600000;
- private boolean mEnable = false;
- private long mTimeout = DEFAULT_TIMEOUT; // in milliseconds
- private String mSecret;
- private int mPageID;
- private String mHost;
- private long mLastLogin = 0;
+
private MessageDigest mSHADigest = null;
private Hashtable<String, IAuthToken> mData = null;
private IConfigStore mConfig;
diff --git a/base/common/src/com/netscape/cms/authentication/SSLclientCertAuthentication.java b/base/common/src/com/netscape/cms/authentication/SSLclientCertAuthentication.java
index dbae4a1ca..2bec1b68d 100644
--- a/base/common/src/com/netscape/cms/authentication/SSLclientCertAuthentication.java
+++ b/base/common/src/com/netscape/cms/authentication/SSLclientCertAuthentication.java
@@ -38,7 +38,6 @@ import com.netscape.certsrv.authentication.ISSLClientCertProvider;
import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.base.IConfigStore;
import com.netscape.certsrv.base.SessionContext;
-import com.netscape.certsrv.logging.ILogger;
import com.netscape.certsrv.profile.EProfileException;
import com.netscape.certsrv.profile.IProfile;
import com.netscape.certsrv.profile.IProfileAuthenticator;
@@ -73,11 +72,6 @@ public class SSLclientCertAuthentication implements IAuthManager,
private String mImplName = null;
private IConfigStore mConfig = null;
- private ILogger mLogger = CMS.getLogger();
-
- private IConfigStore mRevocationChecking = null;
- private String mRequestor = null;
-
public SSLclientCertAuthentication() {
}
diff --git a/base/common/src/com/netscape/cms/authentication/TokenAuthentication.java b/base/common/src/com/netscape/cms/authentication/TokenAuthentication.java
index 10cb94299..923b05019 100644
--- a/base/common/src/com/netscape/cms/authentication/TokenAuthentication.java
+++ b/base/common/src/com/netscape/cms/authentication/TokenAuthentication.java
@@ -32,13 +32,11 @@ import com.netscape.certsrv.authentication.IAuthToken;
import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.base.IConfigStore;
import com.netscape.certsrv.base.SessionContext;
-import com.netscape.certsrv.logging.ILogger;
import com.netscape.certsrv.profile.EProfileException;
import com.netscape.certsrv.profile.IProfile;
import com.netscape.certsrv.profile.IProfileAuthenticator;
import com.netscape.certsrv.property.IDescriptor;
import com.netscape.certsrv.request.IRequest;
-import com.netscape.certsrv.usrgrp.IUGSubsystem;
import com.netscape.cmsutil.http.HttpClient;
import com.netscape.cmsutil.http.HttpRequest;
import com.netscape.cmsutil.http.HttpResponse;
@@ -70,9 +68,6 @@ public class TokenAuthentication implements IAuthManager,
private String mImplName = null;
private IConfigStore mConfig = null;
- private IUGSubsystem mUGSub = null;
- private ILogger mLogger = CMS.getLogger();
-
public TokenAuthentication() {
}
@@ -90,8 +85,6 @@ public class TokenAuthentication implements IAuthManager,
mName = name;
mImplName = implName;
mConfig = config;
-
- mUGSub = (IUGSubsystem) CMS.getSubsystem(CMS.SUBSYSTEM_UG);
}
/**
diff --git a/base/common/src/com/netscape/cms/authentication/UidPwdPinDirAuthentication.java b/base/common/src/com/netscape/cms/authentication/UidPwdPinDirAuthentication.java
index 65cf75651..9e551966c 100644
--- a/base/common/src/com/netscape/cms/authentication/UidPwdPinDirAuthentication.java
+++ b/base/common/src/com/netscape/cms/authentication/UidPwdPinDirAuthentication.java
@@ -133,9 +133,6 @@ public class UidPwdPinDirAuthentication extends DirBasedAuthentication
protected MessageDigest mSHADigest = null;
protected MessageDigest mMD5Digest = null;
- private String mBindDN = null;
- private String mBindPassword = null;
-
private ILdapConnFactory removePinLdapFactory = null;
private LDAPConnection removePinLdapConnection = null;
private IConfigStore removePinLdapConfigStore = null;