com.atlassian.confluence.security.trust
Class DefaultCurrentApplicationIdProvider

java.lang.Object
  extended by 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
DefaultCurrentApplicationIdProvider()
           
 
Method Summary
 String getCurrentApplicationId()
          Get the current application ID.
 void setSidManager(ConfluenceSidManager sidManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCurrentApplicationIdProvider

public DefaultCurrentApplicationIdProvider()
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 interface CurrentApplicationIdProvider
Returns:
The current application ID.

setSidManager

public void setSidManager(ConfluenceSidManager sidManager)


Copyright © 2003-2012 Atlassian. All Rights Reserved.