SPT Core API

com.sptci.auth
Class UserPrincipal

java.lang.Object
  extended by com.sptci.auth.AbstractPrincipal
      extended by com.sptci.auth.UserPrincipal
All Implemented Interfaces:
Serializable, Principal

public class UserPrincipal
extends AbstractPrincipal

A simple Principal implementation used to represent a username for users.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: UserPrincipal.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Nikhil 2007-08-01
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sptci.auth.AbstractPrincipal
name
 
Constructor Summary
UserPrincipal(String name)
          Create a new principal with the specified username.
 
Method Summary
 
Methods inherited from class com.sptci.auth.AbstractPrincipal
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserPrincipal

public UserPrincipal(String name)
Create a new principal with the specified username.

Parameters:
name - The username value to use.

SPT Core API