No log-in screen after migration to Jmix

Hi
After migration from the CUBA platform to JMIX, my application just logs in without a log-in prompt and doesn’t show any menu content on the main screen.
image

Here is application property content related to default screen settings (was done automatically):

jmix.ui.login-screen-id = erp_LoginScreen
jmix.ui.main-screen-id = erp_MainScreen
jmix.ui.menu-config = com/inteacc/erp/menu.xml
jmix.ui.composite-menu = true

I have extended the main screen while using default login screen.

<window xmlns="http://jmix.io/schema/ui/window" caption="mainMsg://application.caption"
        xmlns:dynattr="http://jmix.io/schema/dynattr/ui"
        xmlns:ext="http://jmix.io/schema/ui/window-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        >
    <layout>
        <cssLayout id="horizontalWrap" stylename="jmix-sidemenu-layout" height="100%">
            <cssLayout id="sideMenuContainer" height="100%" stylename="jmix-sidemenu-container">
                <cssLayout id="sideMenuPanel" stylename="jmix-sidemenu-panel">
                    <cssLayout id="appTitleBox" stylename="jmix-sidemenu-title">
                        <image id="logoImage" stylename="jmix-app-icon" scaleMode="SCALE_DOWN" visible="false"/>
                        <label id="appTitleLabel" stylename="jmix-app-title" value="mainMsg://application.logoLabel"/>
                    </cssLayout>
                    <image id="companyLogo" css="padding: 10px" responsive="true" scaleMode="SCALE_DOWN"
                           align="MIDDLE_CENTER">
                        <resource/>
                    </image>
                    <sideMenu id="sideMenu"/>
                    <timeZoneIndicator id="timeZoneIndicator" align="MIDDLE_CENTER"/>
                    <cssLayout id="controlBox" stylename="jmix-sidemenu-controls">
                        <button id="collapseMenuButton" caption="mainMsg://menuCollapseGlyph"
                                description="mainMsg://sideMenuCollapse" stylename="jmix-sidemenu-collapse-button"/>
                        <userIndicator id="userIndicator" align="MIDDLE_CENTER"/>
                        <button id="settingsButton" icon="GEAR" description="mainMsg://settings"
                                stylename="jmix-settings-button"/>
                        <logoutButton id="logoutButton" icon="SIGN_OUT" description="mainMsg://logoutBtnDescription"/>
                        <button id="loginButton" icon="SIGN_IN" description="mainMsg://loginBtnDescription"
                                stylename="jmix-login-button"/>
                    </cssLayout>
                    <hbox id="companyButtonsBox">
                        <button id="btnDefaultCompany" height="20px" align="MIDDLE_CENTER" stylename="small"/>
                        <label id="empty"/>
                    </hbox>
                </cssLayout>
            </cssLayout>
            <workArea id="workArea" stylename="jmix-workarea">
                <initialLayout spacing="true" margin="true">
                    <label id="welcomeLabel" align="MIDDLE_CENTER" stylename="c-welcome-text"
                           value="mainMsg://application.welcomeText"/>
                </initialLayout>
            </workArea>
        </cssLayout>
    </layout>
    <facets>
        <dynattr:dynamicAttributes/>
    </facets>
</window>

Does anyone have a clue where and what to check for a fix?

Hi,
Is it possible that you enabled anonymous access to screens somehow?

Hi
It may happen but I didn’t do that. How can I check?

Mortoza

Check whether your application.properties contains properties like these ones:

# enable anonymous access
jmix.ui.allow-anonymous-access=true

# initial screen for anonymous user
jmix.ui.initial-screen-id=MainScreenSideMenu

Hi Maxim
No such entries found in the application properties file.

Here is the content:

main.datasource.url = *************
main.datasource.username = ****
main.datasource.password =******

jmix.ui.login-screen-id = erp_LoginScreen
jmix.ui.main-screen-id = erp_MainScreen
jmix.ui.menu-config = com/inteacc/erp/menu.xml
jmix.ui.composite-menu = true

jmix.core.available-locales = en,en_BD,en_US,bn_BD

logging.level.org.atmosphere = warn

# 'debug' level logs SQL generated by EclipseLink ORM
logging.level.eclipselink.logging.sql = info

# 'debug' level logs data store operations
logging.level.io.jmix.core.datastore = info

# 'debug' level logs access control constraints
logging.level.io.jmix.core.AccessLogger = debug

# 'debug' level logs all Jmix debug output
logging.level.io.jmix = info
jmix.liquibase.contexts=cuba
main.datasource.studio.liquibase.exclude-prefixes=audit_,email_,sys_,ui_,sec_role,sec_group,sec_group_hierarchy,sec_user_role,sec_permission,sec_constraint,sec_localized_constraint_msg,sec_session_attr,sec_user_setting,sec_user_substitution,sec_logged_entity,sec_logged_attr,sec_entity_log,sec_filter
jmix.core.fetch-plans-config=com/inteacc/erp/fetchPlans.xml
jmix.security.oauth2.client-id=***********************
jmix.security.oauth2.client-secret=*****************************
jmix.rest.services-config=com/inteacc/erp/rest-services.xml
jmix.rest.queries-config=com/inteacc/erp/rest-queries.xml
jmix.ui.widget-set=com.inteacc.erp.widgets.CustomWidgetSet
jmix.ui.window-config=com/inteacc/erp/web-screens.xml