Skip to main content

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

Should use the provider package that is in the jdk, its used in JAAS ,JCE, JSSE etc.

-----------------
Sent from Tony's BlackBerry.


----- Original Message -----
From: higgins-dev-bounces
Sent: 07/18/2006 01:03 PM
To: "Higgins (Trust Framework) Project developer discussions" <higgins-dev@xxxxxxxxxxx>
Subject: [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



_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev


Back to the top