Class DataSourceValidator

java.lang.Object
net.shibboleth.idp.attribute.resolver.dc.rdbms.impl.DataSourceValidator
All Implemented Interfaces:
Validator

public class DataSourceValidator extends Object implements Validator
Validator implementation that invokes DataSource.getConnection() to determine if the DataSource is properly configured.
  • Field Details

    • log

      private final org.slf4j.Logger log
      Class logger.
    • dataSource

      @NonnullAfterInit private DataSource dataSource
      JDBC data source to validate.
    • throwOnValidateError

      private boolean throwOnValidateError
      Whether validate should throw.
  • Constructor Details

    • DataSourceValidator

      public DataSourceValidator()
  • Method Details