uk.ac.ic.doc.rodex.p2p.messages.applicationlayer
Class AuthenticationTuple
java.lang.Object
uk.ac.ic.doc.rodex.p2p.messages.applicationlayer.AuthenticationTuple
- All Implemented Interfaces:
- PersistentObject
public class AuthenticationTuple
- extends java.lang.Object
- implements PersistentObject
AuthenticationTuple.java
Represents authentication tuple
- Author:
- Duc M Le dmle@doc.ic.ac.uk
Created on April 18, 2006
Department of Computing, Imperial College
Constructor Summary |
AuthenticationTuple(java.lang.String userName,
java.lang.String encryptedPwd,
java.lang.String encryption)
Creates a new instance of AuthenticationTuple |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationTuple
public AuthenticationTuple(java.lang.String userName,
java.lang.String encryptedPwd,
java.lang.String encryption)
- Creates a new instance of AuthenticationTuple
getKey
public PersistentKey getKey()
- Specified by:
getKey
in interface PersistentObject
getPersistentAttributes
public java.util.Map getPersistentAttributes()
- Specified by:
getPersistentAttributes
in interface PersistentObject
getUserName
public java.lang.String getUserName()
getPassword
public java.lang.String getPassword()
getEncryption
public java.lang.String getEncryption()