wt.org
Class PendingUserDirectoryContextProvider

java.lang.Object
  extended bywt.org.PendingUserDirectoryContextProvider
All Implemented Interfaces:
DirectoryContextProvider, Externalizable, Serializable

public class PendingUserDirectoryContextProvider
extends Object
implements DirectoryContextProvider, Externalizable

An implementation of the DirectoryContextProvider interface which provides access to a single directory service defined to hold "pending" users. A pending user is a user that is not yet registered in one of the configured directory services. This class is used by the StandardOrganizationServicesManager to do the special processing required for pending users.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  HashMap creationBases
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private  String primaryService
           
private static String RESOURCE
           
private  HashMap searchBases
           
private  HashMap searchCriteria
           
private  HashMap searchScopes
           
(package private) static long serialVersionUID
           
private  HashMap sizeLimits
           
private  String[] supportingServices
           
 
Constructor Summary
PendingUserDirectoryContextProvider()
          

Supported API: false
 
Method Summary
 String getCreationBase(String service)
          

Supported API: false
 String getPrimaryService()
          

Supported API: false
 String getSearchBase(String service)
          

Supported API: false
 String getSearchCriteria(String service, Class principalClass)
          

Supported API: false
 Enumeration getSearchCriteriaClasses(String service)
          

Supported API: false
 String getSearchScope(String service)
          

Supported API: false
 int getSizeLimit(String service)
          

Supported API: false
 String[] getSupportingServices()
          

Supported API: false
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(PendingUserDirectoryContextProvider thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setCreationBase(String service, String creationBase)
          

Supported API: false
 void setSearchBase(String service, String searchBase)
          

Supported API: false
 void setSearchCriteria(String service, Class principalClass, String searchCriteria)
          

Supported API: false
 void setSearchScope(String service, String searchScope)
          

Supported API: false
 void setSizeLimit(String service, int sizeLimit)
          

Supported API: false
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

creationBases

private HashMap creationBases

primaryService

private String primaryService

searchBases

private HashMap searchBases

searchCriteria

private HashMap searchCriteria

searchScopes

private HashMap searchScopes

sizeLimits

private HashMap sizeLimits

supportingServices

private String[] supportingServices

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

PendingUserDirectoryContextProvider

public PendingUserDirectoryContextProvider()
                                    throws WTException


Supported API: false

Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(PendingUserDirectoryContextProvider thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getCreationBase

public String getCreationBase(String service)
                       throws WTException


Supported API: false

Specified by:
getCreationBase in interface DirectoryContextProvider
Parameters:
service -
Returns:
String
Throws:
WTException

setCreationBase

public void setCreationBase(String service,
                            String creationBase)
                     throws WTPropertyVetoException


Supported API: false

Specified by:
setCreationBase in interface DirectoryContextProvider
Parameters:
service -
creationBase -
Throws:
WTPropertyVetoException

getPrimaryService

public String getPrimaryService()
                         throws WTException


Supported API: false

Specified by:
getPrimaryService in interface DirectoryContextProvider
Returns:
String
Throws:
WTException

getSearchBase

public String getSearchBase(String service)
                     throws WTException


Supported API: false

Specified by:
getSearchBase in interface DirectoryContextProvider
Parameters:
service -
Returns:
String
Throws:
WTException

setSearchBase

public void setSearchBase(String service,
                          String searchBase)
                   throws WTPropertyVetoException


Supported API: false

Specified by:
setSearchBase in interface DirectoryContextProvider
Parameters:
service -
searchBase -
Throws:
WTPropertyVetoException

getSearchCriteria

public String getSearchCriteria(String service,
                                Class principalClass)


Supported API: false

Specified by:
getSearchCriteria in interface DirectoryContextProvider
Parameters:
service -
principalClass -
Returns:
String

getSearchCriteriaClasses

public Enumeration getSearchCriteriaClasses(String service)


Supported API: false

Specified by:
getSearchCriteriaClasses in interface DirectoryContextProvider
Parameters:
service -
Returns:
Enumeration

setSearchCriteria

public void setSearchCriteria(String service,
                              Class principalClass,
                              String searchCriteria)
                       throws WTPropertyVetoException


Supported API: false

Specified by:
setSearchCriteria in interface DirectoryContextProvider
Parameters:
service -
principalClass -
searchCriteria -
Throws:
WTPropertyVetoException

getSearchScope

public String getSearchScope(String service)
                      throws WTException


Supported API: false

Specified by:
getSearchScope in interface DirectoryContextProvider
Parameters:
service -
Returns:
String
Throws:
WTException

setSearchScope

public void setSearchScope(String service,
                           String searchScope)
                    throws WTPropertyVetoException


Supported API: false

Specified by:
setSearchScope in interface DirectoryContextProvider
Parameters:
service -
searchScope -
Throws:
WTPropertyVetoException

getSizeLimit

public int getSizeLimit(String service)


Supported API: false

Specified by:
getSizeLimit in interface DirectoryContextProvider
Parameters:
service -
Returns:
int

setSizeLimit

public void setSizeLimit(String service,
                         int sizeLimit)
                  throws WTPropertyVetoException


Supported API: false

Specified by:
setSizeLimit in interface DirectoryContextProvider
Parameters:
service -
sizeLimit -
Throws:
WTPropertyVetoException

getSupportingServices

public String[] getSupportingServices()
                               throws WTException


Supported API: false

Specified by:
getSupportingServices in interface DirectoryContextProvider
Returns:
String[]
Throws:
WTException