org.jasig.cas.client.jaas
Class TicketCredential

java.lang.Object
  extended by org.jasig.cas.client.jaas.TicketCredential
All Implemented Interfaces:
Principal

public final class TicketCredential
extends Object
implements Principal

Strongly-typed wrapper for a ticket credential.

Since:
3.1.12
Version:
$Revision$ $Date$
Author:
Marvin S. Addison

Constructor Summary
TicketCredential(String ticket)
          Creates a new instance that wraps the given ticket.
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TicketCredential

public TicketCredential(String ticket)
Creates a new instance that wraps the given ticket.

Parameters:
ticket - Ticket identifier string.
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Specified by:
equals in interface Principal
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object


Copyright © 2006-2011 Jasig. All Rights Reserved.