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 Constructor Description DefaultCurrentApplicationIdProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrentApplicationId()
Get the current application ID.void
setSidManager(ConfluenceSidManager sidManager)
-
-
-
Method Detail
-
getCurrentApplicationId
public String 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
public void setSidManager(ConfluenceSidManager sidManager)
-
-