Unknown realm [myRealm]. null returned for key: isUserAuthenticated
问题 I am using IBM Worklight 6.1 and trying to check if the user is authenticated or not: I have a Realm defined in server/conf/authenticationConfig.xml <realm name="myRealm" loginModule="myLoginModule"> <className>com.worklight.integration.auth.AdapterAuthenticator</className> <parameter name="login-function" value="authentication.onAuthRequired" /> <parameter name="logout-function" value="authentication.onLogout" /> </realm> and its login module <loginModule name="myLoginModule"> <className>com