Class DefaultCurrentApplicationIdProvider
java.lang.Object
com.atlassian.confluence.security.trust.DefaultCurrentApplicationIdProvider
- All Implemented Interfaces:
CurrentApplicationIdProvider
public class DefaultCurrentApplicationIdProvider
extends Object
implements CurrentApplicationIdProvider
Default implementation of the CurrentApplicationIdProvider. This uses a function of the server ID to generate the
key.
- Since:
- 3.5.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the current application ID.void
setSidManager
(ConfluenceSidManager sidManager)
-
Constructor Details
-
DefaultCurrentApplicationIdProvider
public DefaultCurrentApplicationIdProvider()
-
-
Method Details
-
getCurrentApplicationId
Description copied from interface:CurrentApplicationIdProvider
Get the current application ID. This must return the same application ID for the same instance of Confluence on every invocation, cross cluster.- Specified by:
getCurrentApplicationId
in interfaceCurrentApplicationIdProvider
- Returns:
- The current application ID.
-
setSidManager
-