CORAL Component documentation: EnvironmentAuthenticationService

Ioannis Papadopoulos

CERN

October 2005


1. Introduction

1.1. Purpose of the component

The EnvironmentAuthenticationService package is a plugin library providing an implementation of the IAuthenticationService interface, based on the use of two environment variables.

1.2. Repository of the component

:pserver:anonymoys@coral.cvs.cern.ch:/cvs/coral/coral/EnvironmentAuthenticationService

2. EnvironmentAuthenticationService Semantics

The EnvironmentAuthenticationService component ("CORAL/Services/EnvironmentAuthenticationService") provides an implementation of the IAuthenticationService interface which is based on the use of two environment variables. In particular the database user name and password are retrieved from the environment variables CORAL_AUTH_USER and CORAL_AUTH_PASSWORD respectively, completely ignoring what the actual connection string is.

This implementation is provided mainly to facilitate easy development of CORAL-based applications.