[Pki-devel] [PATCH] 0066 Remove unused TOKEN_AUTHMGR_IMPL_NAME AuthToken attribute
Fraser Tweedale
ftweedal at redhat.com
Mon Jan 11 10:50:36 UTC 2016
Drive-by cleanup; patch attached.
Cheers,
Fraser
-------------- next part --------------
From 55f82ee1cbd3cc2653243c706c4dc857ec90a0a7 Mon Sep 17 00:00:00 2001
From: Fraser Tweedale <ftweedal at redhat.com>
Date: Tue, 22 Dec 2015 12:43:34 +1100
Subject: [PATCH] Remove unused TOKEN_AUTHMGR_IMPL_NAME AuthToken attribute
---
.../netscape/certsrv/authentication/AuthToken.java | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/base/common/src/com/netscape/certsrv/authentication/AuthToken.java b/base/common/src/com/netscape/certsrv/authentication/AuthToken.java
index c44ed76681021afd6d8f2dd7cb3996beb4e73a8f..0febf87727d2ebde9dbcacbd5059f9b9afa13701 100644
--- a/base/common/src/com/netscape/certsrv/authentication/AuthToken.java
+++ b/base/common/src/com/netscape/certsrv/authentication/AuthToken.java
@@ -75,12 +75,6 @@ public class AuthToken implements IAuthToken {
public static final String TOKEN_CERT_TO_REVOKE = "tokenCertToRevoke";
/**
- * Plugin name of the authentication manager that created the
- * AuthToken as a string.
- */
- public static final String TOKEN_AUTHMGR_IMPL_NAME = "authMgrImplName";
-
- /**
* Name of the authentication manager that created the AuthToken
* as a string.
*/
@@ -97,7 +91,6 @@ public class AuthToken implements IAuthToken {
*
* <pre>
* "authMgrInstName" - The authentication manager instance name.
- * "authMgrImplName" - The authentication manager plugin name.
* "authTime" - The - The time of authentication.
* </pre>
*
@@ -107,7 +100,6 @@ public class AuthToken implements IAuthToken {
mAttrs = new Hashtable<String, Object>();
if (authMgr != null) {
set(TOKEN_AUTHMGR_INST_NAME, authMgr.getName());
- set(TOKEN_AUTHMGR_IMPL_NAME, authMgr.getImplName());
}
set(TOKEN_AUTHTIME, new Date());
}
@@ -419,17 +411,6 @@ public class AuthToken implements IAuthToken {
}
/**
- * Gets the plugin name of the authentication manager that created this
- * token.
- *
- * @return The plugin name of the authentication manager that created this
- * token.
- */
- public String getAuthManagerImplName() {
- return ((String) mAttrs.get(TOKEN_AUTHMGR_IMPL_NAME));
- }
-
- /**
* Gets the time of authentication.
*
* @return The time of authentication
--
2.5.0
More information about the Pki-devel
mailing list