jfreerails.world.player
Class Player.WorldPrincipal

java.lang.Object
  extended by jfreerails.world.player.FreerailsPrincipal
      extended by jfreerails.world.player.Player.WorldPrincipal
All Implemented Interfaces:
java.io.Serializable, java.security.Principal, FreerailsSerializable
Enclosing class:
Player

private static class Player.WorldPrincipal
extends FreerailsPrincipal

A FreerailsPrincipal that is not a player.


Field Summary
private  java.lang.String principalName
           
private static long serialVersionUID
           
 
Constructor Summary
Player.WorldPrincipal(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

principalName

private final java.lang.String principalName
Constructor Detail

Player.WorldPrincipal

public Player.WorldPrincipal(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object