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 classPluginSupport.SupportLevelValue for support level pointed to bySUPPORT_LEVEL_INTERFIX.
-
Field Summary
Fields Modifier and Type Field Description static StringAVAILABLE_VERSIONS_PROPERTY_SUFFIXProperty Name suffix for available versions insideIdPPlugin.getUpdateURLs().static StringBASE_NAME_INTERFIXProperty Name for download nameIdPPlugin.getUpdateURLs().static StringDOWNLOAD_URL_INTERFIXProperty Name for Download directoryIdPPlugin.getUpdateURLs().private static org.slf4j.LoggerlogClass logger.static StringMAX_IDP_VERSION_INTERFIXProperty Name for max supported IdP version inside insideIdPPlugin.getUpdateURLs().static StringMIN_IDP_VERSION_INTERFIXProperty Name for minimum supported IdP version inside insideIdPPlugin.getUpdateURLs().static StringSUPPORT_LEVEL_INTERFIXProperty Name for support level inside insideIdPPlugin.getUpdateURLs().static StringVERSION_PATTERNUsed for specifying templated keynames.static StringVERSION_PATTERN_REGEXUsed for specifying templated results.
-
Constructor Summary
Constructors Modifier Constructor Description privatePluginSupport()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginVersiongetIdPVersion()Get parse IdP Version (with fallback for testing).
-
-
-
Field Detail
-
AVAILABLE_VERSIONS_PROPERTY_SUFFIX
@Nonnull public static final String AVAILABLE_VERSIONS_PROPERTY_SUFFIX
Property Name suffix for available versions insideIdPPlugin.getUpdateURLs().- See Also:
- Constant Field Values
-
DOWNLOAD_URL_INTERFIX
@Nonnull public static final String DOWNLOAD_URL_INTERFIX
Property Name for Download directoryIdPPlugin.getUpdateURLs().- See Also:
- Constant Field Values
-
BASE_NAME_INTERFIX
@Nonnull public static final String BASE_NAME_INTERFIX
Property Name for download nameIdPPlugin.getUpdateURLs().- See Also:
- Constant Field Values
-
MAX_IDP_VERSION_INTERFIX
@Nonnull public static final String MAX_IDP_VERSION_INTERFIX
Property Name for max supported IdP version inside insideIdPPlugin.getUpdateURLs().- See Also:
- Constant Field Values
-
MIN_IDP_VERSION_INTERFIX
@Nonnull public static final String MIN_IDP_VERSION_INTERFIX
Property Name for minimum supported IdP version inside insideIdPPlugin.getUpdateURLs().- See Also:
- Constant Field Values
-
SUPPORT_LEVEL_INTERFIX
@Nonnull public static final String SUPPORT_LEVEL_INTERFIX
Property Name for support level inside insideIdPPlugin.getUpdateURLs().- See Also:
- Constant Field Values
-
VERSION_PATTERN
@Nonnull public static final String VERSION_PATTERN
Used for specifying templated keynames.- See Also:
- Constant Field Values
-
VERSION_PATTERN_REGEX
@Nonnull public static final String VERSION_PATTERN_REGEX
Used for specifying templated results.- See Also:
- Constant Field Values
-
log
@Nonnull private static org.slf4j.Logger log
Class logger.
-
-
Method Detail
-
getIdPVersion
public static PluginVersion getIdPVersion()
Get parse IdP Version (with fallback for testing).- Returns:
- a
PluginVersionof the version.
-
-