One embodiment of the present invention provides a system that facilitates
specifying a repository containing authentication information to a plugin
in a plugable authentication system. When the system receives a command
that requires the repository to be accessed, the system populates a data
structure with information including a specifier for the repository. The
system passes this data structure into a plugin framework. This enables
one or more plugins within the framework to access the specified
repository.