at.gv.egovernment.moa.spss.server.config
Class HardwareKeyModule

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.config.KeyModule
        |
        +--at.gv.egovernment.moa.spss.server.config.HardwareKeyModule

public class HardwareKeyModule
extends KeyModule

A class that contains information about a hardware key module.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
HardwareKeyModule(String id, String name, String slotID, String userPIN)
          Create a new HardwareKey.
 
Method Summary
 String getName()
          Return the name of this HardwareKey.
 String getSlotID()
          Return the slot ID of this HardwareKey.
 String getUserPIN()
          Return the user PIN to access this HardwareKey.
 
Methods inherited from class at.gv.egovernment.moa.spss.server.config.KeyModule
getId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HardwareKeyModule

public HardwareKeyModule(String id,
                         String name,
                         String slotID,
                         String userPIN)
Create a new HardwareKey.
Parameters:
id - The key module ID.
name - The name of the key.
slotID - The slot ID of the key within the hardware module. May be null.
userPIN - The user PIN to access the key.
Method Detail

getName

public String getName()
Return the name of this HardwareKey.
Returns:
The name of this HardwareKey.

getSlotID

public String getSlotID()
Return the slot ID of this HardwareKey.
Returns:
The slot ID of this HardwareKey.

getUserPIN

public String getUserPIN()
Return the user PIN to access this HardwareKey.
Returns:
The user PIN to access this HardwareKey.