Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[higgins-dev] [IdAS] context provider registration


Please comment on the following method for statically registering Context Providers with the IdAS Endpoint:

(1) A simple properties file is in <java-home>/lib/idas/idas.properties.
(2) The file contains properties (a la the Security properties file) that specifies the types and ordering of providers, e.g.:

idas.provider.1 = com.ibm.idas.WayCoolProvider
idas.provider.2 = org.eclipse.higgins.idas.DefaultProvider

(3) Each provider would be instantiated when the Endpoint is instantiated. It would be up to each provider to configure itself (i.e., find where contexts are stored, read in the contexts, etc.)

-----

This method is similar to the Crypto Provider mechanism. I've seen discussions on the web about Preferencs vs. Properties, and other XML-based configuration approaches. Does anyone have a strong opinion about doing something different than a simple properties file? (If this is a reasonable approach, should we also provide a system property that indicates which properties file to use?)

...Greg





Back to the top