SPT Core API

com.sptci.auth
Class RolePrincipal

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

public class RolePrincipal
extends AbstractPrincipal

A simple Principal implementation used to represent user roles (group membership).

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: RolePrincipal.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-24
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sptci.auth.AbstractPrincipal
name
 
Constructor Summary
RolePrincipal(String name)
          Create a new principal with the specified role.
 
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

RolePrincipal

public RolePrincipal(String name)
Create a new principal with the specified role.

Parameters:
name - The role value.

SPT Core API