public boolean usesDistinctConfigurationForEachType() throws IOException
    {
        CertificateStoreConfiguration identityStoreConfiguration = null;
        CertificateStoreConfiguration c2sTrustStoreConfiguration = null;
        CertificateStoreConfiguration s2sTrustStoreConfiguration = null;
        for ( ConnectionType connectionType : ConnectionType.values() )
        {
            // Identity stores
            if ( identityStoreConfiguration == null )
            {
                identityStoreConfiguration = getIdentityStoreConfiguration( connectionType );
            }
            if ( !identityStoreConfiguration.equals( getIdentityStoreConfiguration( connectionType ) ) )
            {
                return true;
            }

            // Client-to-Server trust stores
            if ( connectionType.isClientOriented() )
            {
                if ( c2sTrustStoreConfiguration == null )
                {
                    c2sTrustStoreConfiguration = getTrustStoreConfiguration( connectionType );
                }
                if ( !c2sTrustStoreConfiguration.equals( getTrustStoreConfiguration( connectionType ) ) )
                {
                    return true;
                }
            }
            else
            // Server-to-Server trust stores (includes component connections)
            {
                if ( s2sTrustStoreConfiguration == null )
                {
                    s2sTrustStoreConfiguration = getTrustStoreConfiguration( connectionType );
                }
                if ( !s2sTrustStoreConfiguration.equals( getTrustStoreConfiguration( connectionType ) ) )
                {
                    return true;
                }
            }
        }

        return false;
    }
Checks if Openfire is configured to use the same set of three keystore files for all connection types (one
identity store, and two trust stores - one for client-based connections, and one for server/component-based
connections).

This method will return 'false' when running Openfire without changes to its default keystore configuration. If
changes are made to use different keystores for at least one connection type, this method returns 'true'.

@return true if Openfire is using different keystores based on the type of connection, false when running with the default store configuration.
@throws IOException if there was an IO error
xmppserver/src/main/java/org/jivesoftware/openfire/keystore/CertificateStoreManager.java