Interface Lifecycle
-
- All Known Subinterfaces:
AccessTokenIssueEventListener
,AdvancedClaimsSource
,AuthorizationRequestValidator
,ClaimsSource
,ClientAuthenticationInterceptor
,ClientCredentialsGrantHandler
,CommonClaimsSource
,FinalMetadataValidator
,GrantHandler
,IDTokenIssueEventListener
,JWTGrantHandler
,PARValidator
,PasswordGrantHandler
,PrivateKeyJWTCertificateVerifier
,RegistrationInterceptor
,SAML2GrantHandler
,SelfIssuedJWTGrantHandler
,SelfIssuedSAML2GrantHandler
,ThirdPartyJWTGrantHandler
,ThirdPartySAML2GrantHandler
,TokenExchangeGrantHandler
public interface Lifecycle
Service Provider Interface (SPI) lifecycle.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
init(InitContext initContext)
Initialises the SPI implementation after it is loaded by the Connect2id Server.default boolean
isEnabled()
Checks if the SPI implementation is enabled and can handle requests.default void
shutdown()
Shuts down the SPI implementation.
-
-
-
Method Detail
-
init
default void init(InitContext initContext) throws Exception
Initialises the SPI implementation after it is loaded by the Connect2id Server.- Parameters:
initContext
- The initialisation context. Can be used to configure and setup the SPI implementation. Notnull
.- Throws:
Exception
- If initialisation failed.
-
isEnabled
default boolean isEnabled()
Checks if the SPI implementation is enabled and can handle requests. This can be controlled by a configuration setting or otherwise.- Returns:
true
if the SPI implementation is enabled, elsefalse
.
-
-