loginmodules/password/authenticators/jdbc/src/main/java/org/beiter/michael/authn/jaas/loginmodules/password/authenticators/jdbc/JdbcPasswordAuthenticator.java
@Override
    public final void init(final CommonProperties properties) {

        Validate.notNull(properties, "The validated object 'properties' is null");

        // no need for defensive copies here, as all internal config values are calculated

        // some caching would be nice, but then we would have to allow resets in case the application wants to reload
        // its configuration at some point - seems not worth the hassle at this point.
        LOG.info("Parsing connection properties configuration");
        connProps.set(JaasBasedConnPropsBuilder.build(properties.getAdditionalProperties()));

        // same statement about caching :)
        LOG.info("Parsing database properties configuration");
        dbProps.set(JaasBasedDbPropsBuilder.build(properties.getAdditionalProperties()));
    }
@Override
    public final void init(final CommonProperties properties) {

        Validate.notNull(properties, "The validated object 'properties' is null");

        // no need for defensive copies here, as all internal config values are calculated

        // some caching would be nice, but then we would have to allow resets in case the application wants to reload
        // its configuration at some point - seems not worth the hassle at this point.
        LOG.info("Parsing connection properties configuration");
        connProps.set(JaasBasedConnPropsBuilder.build(properties.getAdditionalProperties()));

        // same statement about caching :)
        LOG.info("Parsing database properties configuration");
        dbProps.set(JaasBasedDbPropsBuilder.build(properties.getAdditionalProperties()));
    }
@ Override public final void init ( final CommonProperties properties ) { Validate . notNull ( properties , "The validated object 'properties' is null" ) ; // no need for defensive copies here, as all internal config values are calculated // some caching would be nice, but then we would have to allow resets in case the application wants to reload // its configuration at some point - seems not worth the hassle at this point. LOG . info ( "Parsing connection properties configuration" ) ; connProps . set ( JaasBasedConnPropsBuilder . build ( properties . getAdditionalProperties ( ) ) ) ; // same statement about caching :) LOG . info ( "Parsing database properties configuration" ) ; dbProps . set ( JaasBasedDbPropsBuilder . build ( properties . getAdditionalProperties ( ) ) ) ; }
{@inheritDoc}
<p>
See module documentation for a list of available options.
@throws NullPointerException When {@code properties} is {@code null}
{