Package com.netscape.cms.authentication
Class HashAuthData
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.String,java.util.Vector<java.lang.Object>>
-
- com.netscape.cms.authentication.HashAuthData
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.util.Vector<java.lang.Object>>
public class HashAuthData extends java.util.Hashtable<java.lang.String,java.util.Vector<java.lang.Object>>The structure stores the information of which machine is enabled for the agent-initiated user enrollment, and whom agents enable this feature, and the value of the timeout.- Version:
- $Revision$, $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HashAuthData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAgentName(java.lang.String hostname)longgetLastLogin(java.lang.String hostname)java.lang.StringgetSecret(java.lang.String hostname)longgetTimeout(java.lang.String hostname)voidsetAgentName(java.lang.String hostname, java.lang.String agentName)voidsetLastLogin(java.lang.String hostname, long lastLogin)voidsetSecret(java.lang.String hostname, java.lang.String secret)voidsetTimeout(java.lang.String hostname, long timeout)-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
Field Detail
-
TIMEOUT
public static final long TIMEOUT
- See Also:
- Constant Field Values
-
LASTLOGIN
public static final long LASTLOGIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAgentName
public java.lang.String getAgentName(java.lang.String hostname)
-
setAgentName
public void setAgentName(java.lang.String hostname, java.lang.String agentName)
-
getTimeout
public long getTimeout(java.lang.String hostname)
-
setTimeout
public void setTimeout(java.lang.String hostname, long timeout)
-
getSecret
public java.lang.String getSecret(java.lang.String hostname)
-
setSecret
public void setSecret(java.lang.String hostname, java.lang.String secret)
-
getLastLogin
public long getLastLogin(java.lang.String hostname)
-
setLastLogin
public void setLastLogin(java.lang.String hostname, long lastLogin)
-
-