//Use when authenticating against a data base schema that exists, logs are written to System.out.println

DBSystemLoginModuleTest {
   oracle.sample.dbloginmodule.DBSystemLM.DBSystemLoginModule required debug="true" log_level="ALL" jdbcUrl="jdbc:oracle:thin:@localhost:1521:orcl" jdbcDriver="oracle.jdbc.driver.OracleDriver";
};

//Use when authenticating against a data base schema that exists, logs are written to Java Logger

DBSystemLoginModuleJavaLogger {
   oracle.sample.dbloginmodule.DBSystemLM.DBSystemLoginModule required debug="true" log_level="ALL" jdbcUrl="jdbc:oracle:thin:@localhost:1521:orcl" jdbcDriver="oracle.jdbc.driver.OracleDriver" logger_class="oracle.sample.dbloginmodule.util.JavaLoggerImpl";
};

//Use when authenticating against user database tables that don't use encrypted user passwords, logs are written to System.out.println

DBTableLoginModuleTest {
   oracle.sample.dbloginmodule.DBTableLM.DBTableLoginModule required debug="true" log_level="ALL" jdbcUrl="jdbc:oracle:thin:@localhost:1521:orcl" jdbcDriver="oracle.jdbc.driver.OracleDriver" db_schema="scott" db_schema_pw="tiger" user_table="sec_users" roles_table="user_roles_view" username_column="username"  password_column="password"  roles_column="rolename"  user_pk_column="userid" roles_fk_column="userid" realm_column="realm" application_realm="Online Trainings";
};

//Use when authenticating against user database tables that don't use encrypted user passwords, logs are written to JavaLogger

DBTableLoginModuleJavaLogger {
   oracle.sample.dbloginmodule.DBTableLM.DBTableLoginModule required debug="true" log_level="ALL" jdbcUrl="jdbc:oracle:thin:@localhost:1521:orcl" jdbcDriver="oracle.jdbc.driver.OracleDriver" db_schema="scott" db_schema_pw="tiger" user_table="sec_users" roles_table="user_roles_view" username_column="username"  password_column="password"  roles_column="rolename"  user_pk_column="userid" roles_fk_column="userid" realm_column="realm" application_realm="Online Trainings" logger_class="oracle.sample.dbloginmodule.util.JavaLoggerImpl";
};

//Use when authenticating against user database tables that uses encrypted user passwords, logs are written to JavaLogger

DBTableLoginModuleJavaLoggerEncrPw {
   oracle.sample.dbloginmodule.DBTableLM.DBTableLoginModule required debug="true" log_level="ALL" jdbcUrl="jdbc:oracle:thin:@localhost:1521:orcl" jdbcDriver="oracle.jdbc.driver.OracleDriver" db_schema="scott" db_schema_pw="tiger" user_table="sec_users" roles_table="user_roles_view" username_column="username"  password_column="password"  roles_column="rolename"  user_pk_column="userid" roles_fk_column="userid" realm_column="realm" application_realm="Online Trainings" logger_class="oracle.sample.dbloginmodule.util.JavaLoggerImpl" pw_encoding_class="oracle.sample.dbloginmodule.util.DBLoginModuleSHA1Encoder";
};


// Authentication and authorization performed by stored database procedure
DBProcLoginModuleJavaLogger{
   oracle.sample.dbloginmodule.DBProcLM.DBProcLoginModule required debug="true" log_level="ALL" jdbcUrl="jdbc:oracle:thin:@localhost:1521:orcl" jdbcDriver="oracle.jdbc.driver.OracleDriver" db_schema="scott" db_schema_pw="tiger" plsql_procedure="DBPROCLM.GET_USER_AUTHENTICATION" application_realm="Online Trainings" logger_class="oracle.sample.dbloginmodule.util.JavaLoggerImpl";
};


   