Package net.shibboleth.idp.plugin.impl
Class FirstPartyIdPPlugin
java.lang.Object
net.shibboleth.idp.plugin.AbstractIdPPlugin
net.shibboleth.idp.plugin.PropertyDrivenIdPPlugin
net.shibboleth.idp.plugin.impl.FirstPartyIdPPlugin
- All Implemented Interfaces:
IdPPlugin
Implementation class for plugins from the project itself to centralize
update handling.
-
Field Summary
Fields inherited from class net.shibboleth.idp.plugin.PropertyDrivenIdPPlugin
DEFAULT_RESOURCE, PLUGIN_ID_PROPERTY, PLUGIN_LICENSE_PROPERTY, PLUGIN_REQ_MODULES_PROPERTY, PLUGIN_URL_PROPERTY, PLUGIN_VERSION_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides default update locations to use.Methods inherited from class net.shibboleth.idp.plugin.PropertyDrivenIdPPlugin
getLicenseFileLocation, getMajorVersion, getMinorVersion, getPatchVersion, getPluginId, getRequiredModules, getUpdateURLs, load
Methods inherited from class net.shibboleth.idp.plugin.AbstractIdPPlugin
equals, getDisableOnRemoval, getEnableOnInstall, hashCode, setDisableOnRemoval, setEnableOnInstall, toString
-
Constructor Details
-
FirstPartyIdPPlugin
public FirstPartyIdPPlugin(@Nonnull Class<? extends IdPPlugin> claz) throws IOException, PluginException Constructor.- Parameters:
claz
- type of plugin- Throws:
IOException
- if properties can't be loadedPluginException
- if another error occurs
-
-
Method Details
-
getDefaultUpdateURLs
@Nonnull @NonnullElements @Unmodifiable @NotLive public List<URL> getDefaultUpdateURLs() throws PluginExceptionProvides default update locations to use.- Overrides:
getDefaultUpdateURLs
in classPropertyDrivenIdPPlugin
- Returns:
- default update locations
- Throws:
PluginException
- if the URLs cannot be resolved
-