public static String getTrustStoreBackupDirectory( ConnectionType type )
    {
        final String propertyName = type.getPrefix()  + "backup.truststore.location";
        final String defaultValue = "resources" + File.separator + "security" + File.separator + "archive" + File.separator;

        if ( type.getFallback() == null )
        {
            return JiveGlobals.getProperty( propertyName, defaultValue ).trim();
        }
        else
        {
            return JiveGlobals.getProperty( propertyName, getTrustStoreBackupDirectory( type.getFallback() ) ).trim();
        }
    }
The location (relative to OPENFIRE_HOME) of the directory that holds backups for trust stores.

@param type the connection type
@return a path (never null).
xmppserver/src/main/java/org/jivesoftware/openfire/keystore/CertificateStoreManager.java