com.raritantechnologies.searchApp.userInfoComparators
Class ValidUserComparator

java.lang.Object
  extended bycom.raritantechnologies.searchApp.userInfoComparators.ValidUserComparator
All Implemented Interfaces:
IConfigurable, ILoginInfoComparator

public class ValidUserComparator
extends java.lang.Object
implements ILoginInfoComparator

LoginInfo Comparator that checks if the LoginInfo is valid (can login).

XML Configuration Template:
  <UserInfoComparator class="com.raritantechnologies.searchApp.userInfoComparators.ValidUserComparator" />
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
ValidUserComparator()
           
 
Method Summary
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 boolean matches(ILoginInfo userInfo, ISecurityManager securityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidUserComparator

public ValidUserComparator()
Method Detail

matches

public boolean matches(ILoginInfo userInfo,
                       ISecurityManager securityManager)
Specified by:
matches in interface ILoginInfoComparator

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable