agents.security
Class Ticket

java.lang.Object
  |
  +--agents.security.Ticket
All Implemented Interfaces:
java.io.Serializable

public class Ticket
extends java.lang.Object
implements java.io.Serializable

Class for storing information about the communication process between the client and the server.

See Also:
Serialized Form

Field Summary
 java.lang.String answer
           
 java.util.Date date
           
 java.lang.Object note
           
 java.lang.String password
           
 java.lang.String question
           
 java.lang.String resource
           
 java.lang.String type
           
 java.lang.String username
           
 
Constructor Summary
Ticket(java.lang.String resource, java.lang.String username, java.lang.String password, java.lang.String type)
          Method for creation of a new instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

public java.lang.String resource

username

public java.lang.String username

password

public java.lang.String password

type

public java.lang.String type

date

public java.util.Date date

note

public java.lang.Object note

question

public java.lang.String question

answer

public java.lang.String answer
Constructor Detail

Ticket

public Ticket(java.lang.String resource,
              java.lang.String username,
              java.lang.String password,
              java.lang.String type)
Method for creation of a new instance of this class.