You can package custom provider classes in the JAR or ZIP file that comprise the provider file.
Specify the settings for the custom providers in the
providers.properties
file. Then place the file within the JAR file in the META-INF directory. The settings are then translated by the loader to what appears in the Hub Console.
A provider.properties file has the following elements:
ProviderList
Comma-separated list of the contained provider names.
File-Description
Description of the package.
XXX-Provider-Name
Display name of the provider
XXX
.
XXX-Provider-Description
Description of the provider
XXX
.
XXX-Provider-Type
Type of the provider
XXX
. The possible values are
USER_PROFILE_PROVIDER
,
JAAS_LOGIN_MODULE
, and
AUTHORIZATION_PROVIDER
.
XXX-Provider-Factory-Class-Name
Implementation class of the provider, which is also in the same JAR or ZIP file.
XXX-Provider-Properties
Comma-separated list of name/value pairs that define provider properties.
The provider archive file must contain all the classes required for the custom provider to be functional, in addition to the required resources. These resources are specific to your implementation.