BEA Systems, Inc.

weblogic.security
Class SimplePrincipal

java.lang.Object
  extended by weblogic.security.SimplePrincipal
All Implemented Interfaces:
Principal

public class SimplePrincipal
extends Object
implements Principal

A simple Principal implementation.


Constructor Summary
SimplePrincipal(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
hashCode
 

Constructor Detail

SimplePrincipal

public SimplePrincipal(String name)
Method Detail

getName

public final String getName()
Specified by:
getName in interface Principal

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Specified by:
equals in interface Principal
Overrides:
equals in class Object

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.