jet.scratchboard
Class PrincipalUser

java.lang.Object
  extended by jet.scratchboard.PrincipalUser
All Implemented Interfaces:
java.security.Principal

public class PrincipalUser
extends java.lang.Object
implements java.security.Principal

Author:
Markus.Meisters@web.de

Field Summary
private  java.lang.String name
          name of the user
 
Constructor Summary
PrincipalUser(java.lang.String name)
          Creates a new instance of Principal
 
Method Summary
 java.lang.String getName()
          Returns the name of the user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Field Detail

name

private java.lang.String name
name of the user

Constructor Detail

PrincipalUser

public PrincipalUser(java.lang.String name)
Creates a new instance of Principal

Method Detail

getName

public java.lang.String getName()
Returns the name of the user

Specified by:
getName in interface java.security.Principal
Returns:
String name