BzW2hCsvLoginDataProvider
The default data provider is BzW2hCsvLoginDataProvider.
The BzW2hCsvLoginDataProvider is defined in applicationContext.xml. The default definition is:
<bean id="bzW2hCsvLoginDataProvider"
      class="com.bluezone.w2h.data.BzW2hCsvLoginDataProvider">
      <property name="bzW2hCsvParser" ref="bzW2hCsvParser" />
      <property name="matchIgnoresCase" value="true" />
</bean>
Table 4: BzW2hCsvLoginDataProvider properties
Property Usage
bzW2hCsvParser References the parser bean.
matchIgnoresCase Determines if the login is case-sensitive. Set to false for case-sensitive login.
The bzW2hCsvParser bean’s default definition is:
<bean id="bzW2hCsvParser"
      name="bzW2hCsvParser"
      class="com.bluezone.w2h.data.BzW2hCsvParser">
      <!-- path to the CSV file that contains BzW2h formatted data -->
      <property name="csvResource" value="/WEB-INF/data/bzw2h.csv" />
      <property name="emptyColumnPlaceholder" value="" />
</bean>
Table 5: BzW2hCsvParser properties
Property Usage
csvResource The location of the CSV file.
emptyColumnPlaceholder Contains the string that will replace any columns which are empty. The value is empty by default.
The format of the bzw2h.csv file is as follows:
•  values are separated by a comma
•  there can be no commas in the data, because the comma is the delimiter
•  values are not quoted
•  first column is the user ID
•  second column is the password
•  third column is the e-mail address
•  fourth column is the site name
•  fifth column is the page name
•  all other columns are arbitrary data