Package net.shibboleth.idp.plugin
Class PluginSupport
java.lang.Object
net.shibboleth.idp.plugin.PluginSupport
public final class PluginSupport extends Object
Useful methods for supporting plugins.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginSupport.SupportLevel
Value for support level pointed to bySUPPORT_LEVEL_INTERFIX
. -
Field Summary
Fields Modifier and Type Field Description static String
AVAILABLE_VERSIONS_PROPERTY_SUFFIX
Property Name suffix for available versions insideIdPPlugin.getUpdateURLs()
.static String
BASE_NAME_INTERFIX
Property Name for download nameIdPPlugin.getUpdateURLs()
.static String
DOWNLOAD_URL_INTERFIX
Property Name for Download directoryIdPPlugin.getUpdateURLs()
.private static org.slf4j.Logger
log
Class logger.static String
MAX_IDP_VERSION_INTERFIX
Property Name for max supported IdP version inside insideIdPPlugin.getUpdateURLs()
.static String
MIN_IDP_VERSION_INTERFIX
Property Name for minimum supported IdP version inside insideIdPPlugin.getUpdateURLs()
.static String
SUPPORT_LEVEL_INTERFIX
Property Name for support level inside insideIdPPlugin.getUpdateURLs()
.static String
VERSION_PATTERN
Used for specifying templated keynames.static String
VERSION_PATTERN_REGEX
Used for specifying templated results. -
Constructor Summary
Constructors Modifier Constructor Description private
PluginSupport()
Constructor. -
Method Summary
Modifier and Type Method Description static PluginVersion
getIdPVersion()
Get parse IdP Version (with fallback for testing).
-
Field Details
-
AVAILABLE_VERSIONS_PROPERTY_SUFFIX
Property Name suffix for available versions insideIdPPlugin.getUpdateURLs()
.- See Also:
- Constant Field Values
-
DOWNLOAD_URL_INTERFIX
Property Name for Download directoryIdPPlugin.getUpdateURLs()
.- See Also:
- Constant Field Values
-
BASE_NAME_INTERFIX
Property Name for download nameIdPPlugin.getUpdateURLs()
.- See Also:
- Constant Field Values
-
MAX_IDP_VERSION_INTERFIX
Property Name for max supported IdP version inside insideIdPPlugin.getUpdateURLs()
.- See Also:
- Constant Field Values
-
MIN_IDP_VERSION_INTERFIX
Property Name for minimum supported IdP version inside insideIdPPlugin.getUpdateURLs()
.- See Also:
- Constant Field Values
-
SUPPORT_LEVEL_INTERFIX
Property Name for support level inside insideIdPPlugin.getUpdateURLs()
.- See Also:
- Constant Field Values
-
VERSION_PATTERN
Used for specifying templated keynames.- See Also:
- Constant Field Values
-
VERSION_PATTERN_REGEX
Used for specifying templated results.- See Also:
- Constant Field Values
-
log
@Nonnull private static org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
PluginSupport
private PluginSupport()Constructor.
-
-
Method Details
-
getIdPVersion
Get parse IdP Version (with fallback for testing).- Returns:
- a
PluginVersion
of the version.
-