org.jasig.portal.security.provider
Class AccountStoreFactory

java.lang.Object
  extended by org.jasig.portal.security.provider.AccountStoreFactory

public class AccountStoreFactory
extends java.lang.Object

A factory for account store implementation.

Version:
$Revision: 1.3 $
Author:
Peter Kharchenko

Field Summary
private static IAccountStore accountStoreImpl
           
 
Constructor Summary
AccountStoreFactory()
           
 
Method Summary
static IAccountStore getAccountStoreImpl()
          Returns an instance of the RDBMAccountStore.
private static void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountStoreImpl

private static IAccountStore accountStoreImpl
Constructor Detail

AccountStoreFactory

public AccountStoreFactory()
Method Detail

getAccountStoreImpl

public static IAccountStore getAccountStoreImpl()
                                         throws PortalException
Returns an instance of the RDBMAccountStore. Production installations are highly unlikely to use this factory, so the implementation choice is hard-coded in the factory.

Returns:
an IAccountStore implementation
Throws:
PortalException - if an error occurs

initialize

private static void initialize()
                        throws PortalException
Throws:
PortalException