net.sf.farrago.test
Class FarragoMockPrincipal
java.lang.Object
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
name
private String name
FarragoMockPrincipal
public FarragoMockPrincipal()
FarragoMockPrincipal
public FarragoMockPrincipal(String newName)
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