com.raritantechnologies.searchApp.userInfoComparators
Class AnyUserComparator

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

public class AnyUserComparator
extends java.lang.Object
implements ILoginInfoComparator

LoginInfo Comparator that always returns true.

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

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
AnyUserComparator()
           
 
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

AnyUserComparator

public AnyUserComparator()
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