net.sf.farrago.test
Class FarragoMockPrincipal

java.lang.Object
  extended by net.sf.farrago.test.FarragoMockPrincipal
All Implemented Interfaces:
Serializable, Principal

public class FarragoMockPrincipal
extends Object
implements Serializable, Principal

Mock JAAS principal class

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/test/FarragoMockPrincipal.java#6 $
Author:
Oscar Gothberg
See Also:
Serialized Form

Field Summary
private  String name
           
 
Constructor Summary
FarragoMockPrincipal()
           
FarragoMockPrincipal(String newName)
           
 
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
 

Field Detail

name

private String name
Constructor Detail

FarragoMockPrincipal

public FarragoMockPrincipal()

FarragoMockPrincipal

public FarragoMockPrincipal(String newName)
Method Detail

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

toString

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

getName

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