Package net.shibboleth.idp.plugin
Interface IdPPlugin
- All Known Implementing Classes:
AbstractIdPPlugin
,FirstPartyIdPPlugin
,PropertyDrivenIdPPlugin
public interface IdPPlugin
This interface is exported (via the service API) by every IdP plugin.
- Since:
- 4.1.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the modules to disable after plugin removal.Get the modules to enable after plugin installation or upgrade.Return the classpath location of the license file to emit when --license is specified.int
Return the major version, (as defined by the Java Product Version Policy.int
Return the minor version, (as defined by the Java Product Version Policy.int
Return The patch version, (as defined by the Java Product Version Policy.Return the unique identifier for the plugin.Get the IDs of anyIdPModule
s required for installation of this plugin.Return the places to look for information for this plugin package.
-
Method Details
-
getPluginId
Return the unique identifier for the plugin. This name MUST be- renderable in all file systems (for instance alphanumerics, '-' and '.' only)
- unique. This is best done using java module guidance
org.example.plugins.myplugin
- Returns:
- The id of this plugin.
-
getUpdateURLs
Return the places to look for information for this plugin package. The format of the (property) file at this location is fixed.- Returns:
- Zero or more URLs
- Throws:
IOException
- if the resource construction failed.
-
getMajorVersion
@Nonnegative int getMajorVersion()Return the major version, (as defined by the Java Product Version Policy.- Returns:
- The major version.
-
getMinorVersion
@Nonnegative int getMinorVersion()Return the minor version, (as defined by the Java Product Version Policy.- Returns:
- The minor version.
-
getPatchVersion
@Nonnegative int getPatchVersion()Return The patch version, (as defined by the Java Product Version Policy.- Returns:
- The patch version.
-
getLicenseFileLocation
Return the classpath location of the license file to emit when --license is specified.- Returns:
- the location
-
getRequiredModules
Get the IDs of anyIdPModule
s required for installation of this plugin.- Returns:
- module IDs that are required
-
getEnableOnInstall
Get the modules to enable after plugin installation or upgrade.- Returns:
- modules to enable
-
getDisableOnRemoval
Get the modules to disable after plugin removal.- Returns:
- modules to disable
-