org.apache.jetspeed.om.security
Class JetspeedUserFactory

java.lang.Object
  extended byorg.apache.jetspeed.om.security.JetspeedUserFactory

public class JetspeedUserFactory
extends java.lang.Object

Factory class for creating Jetspeed Users. The user class is configured in the JR.p

Version:
$Id: JetspeedUserFactory.java,v 1.4 2004/02/23 03:14:12 jford Exp $
Author:
David Sean Taylor

Constructor Summary
JetspeedUserFactory()
           
 
Method Summary
static JetspeedUser getInstance()
          Factory method to create JetspeedUser instances.
static JetspeedUser getInstance(boolean isNew)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedUserFactory

public JetspeedUserFactory()
Method Detail

getInstance

public static JetspeedUser getInstance()
                                throws UserException
Factory method to create JetspeedUser instances.

Returns:
JetspeedUser a new created user.
Throws:
UnknownEntityException - when the user instance cant be created.
UserException

getInstance

public static JetspeedUser getInstance(boolean isNew)
                                throws UserException
Throws:
UserException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.