Logout Failed
Incident Properties
Question
Hello,
I have encountered a situation where the the REQ_LOGOUT request to the SDK service continually fails. The only method of resolution was to restart the device.
I have the sleep timer on the device set to 1 minute. While at lunch yesterday, the device kept trying to log the current user out. However, every attempt to log the user out failed until I restarted the device.
Is there a parameter on the logout that I can specify to force log the user out when the SYS_RES_LOGOUT returns a result of false? Or is there another method of logging the user out of the device that can bypass this error?
Below is a snippet from the device log:
10-13 11:24:04.981 3338 3338 D lrs.auth.uieh: AuthButtonPressedEvent received. type:LOGOUT confirm:false
10-13 11:24:04.981 3338 3338 I lrs.auth.lorc: send(jp.co.ricoh.isdk.sdkservice.auth.custom.ui.REQ_LOGOUT)
10-13 11:24:04.981 3245 3245 I SdkServ:CusUiAppReceiver: onReceive
10-13 11:24:04.981 3245 3245 D SdkServ:CusUiAppReceiver: action:jp.co.ricoh.isdk.sdkservice.auth.custom.ui.REQ_LOGOUT
10-13 11:24:04.991 3245 3245 I SdkServ:CustomUi: handleReqLogout
10-13 11:24:05.591 2657 2661 D dalvikvm: GC_CONCURRENT freed 957K, 21% free 6625K/8288K, paused 3ms+5ms, total 55ms
10-13 11:24:05.841 3259 3259 I CSPF_SWS: [SystemBroadcastReceiver]DISP_STATE_INFO receive
10-13 11:24:05.851 3245 3245 D SystemReceiver: jp.co.rioch.advop.stateinfo.DISP_STATE_INFO receive
10-13 11:24:05.851 2921 2921 I Launcher:LinkActivityReceiver: onReceive jp.co.rioch.advop.stateinfo.DISP_STATE_INFO
10-13 11:24:05.851 2921 2921 I Launcher:LinkActivityReceiver: onRecieve jp.co.rioch.advop.stateinfo.DISP_STATE_INFO,show=true
10-13 11:24:06.831 3245 3245 D SystemReceiver: jp.co.ricoh.advop.auth.LOGOUT_ASK receive
10-13 11:24:06.831 3245 3245 D SdkServ:LogoutLockCtrl: askLogout
10-13 11:24:06.831 3245 3245 D SdkServ:LogoutLockCtrl: result:true
10-13 11:24:06.831 3245 3245 I SdkServ:Auth: askLogout ask:true
10-13 11:24:06.831 3245 3245 D SdkServ:LogoutLockCtrl: askLogout
10-13 11:24:06.831 3245 3245 D SdkServ:LogoutLockCtrl: result:true
10-13 11:24:06.831 3245 3245 D SystemReceiver: notifyAskLogout: currentSerialNumberOfLogoutRelatedIntent[42],serialNumberOfLogoutRelatedIntent[41]
10-13 11:24:06.831 3245 3245 D SdkServ:AuthSM: previous:LOGIN next:LOGOUT_ASK_ANS_OK
10-13 11:24:06.921 3245 3245 D SdkServ:CusAuthSysReceiver: action:jp.co.ricoh.advop.authentication.AUTH_SERVICE_STATE_CHANGED
10-13 11:24:06.921 3245 3245 I SdkServ:CustomUi: handleAuthServiceStateChanged
10-13 11:24:06.921 3245 3245 D SdkServ:CustomUi: state:logout_operating
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: trigger:logout_started
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: userID[]
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: userName:****
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: error:
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: CP:none DSD:none FP:none PP:none SP:none BP:none
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: MAP:none UAP:none DAP:none NAP:none CUP:none SVP:none
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: supplicantTerm:null
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: supplicantDevice:null
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: supplicantRequestApplication:null
10-13 11:24:06.931 3245 3245 D SdkServ:CustomUi: CCMP:{monochro=false, autocolor=false, twocolor=false, fullcolor=false, singlecolor=false} PCMD:{monochro=false, twocolor=false, fullcolor=false}
10-13 11:24:06.941 3338 3338 D lrs.auth.uieh: AuthServiceStateChangedEvent received. state:LOGOUT_OPERATING trigger:LOGOUT_STARTED
10-13 11:24:06.941 3338 3338 D lrs.auth.sass: start RaWaitingScreen
10-13 11:24:06.971 3338 3338 I AuthFW : RaWaitingScreen started
10-13 11:24:06.971 3338 3338 D lrs.auth.ssli: RaWaitingScreen Started
10-13 11:24:06.981 2754 2754 V PhoneStatusBar: setLightsOn(true)
10-13 11:24:06.981 3338 3338 I lrs.auth.nadc: send(jp.co.ricoh.isdk.sdkservice.auth.custom.ui.NOTIFY_AUTH_SCREEN_DISP_STATE) dispState:true
10-13 11:24:06.981 3245 3245 I SdkServ:CusUiAppReceiver: onReceive
10-13 11:24:06.981 3245 3245 D SdkServ:CusUiAppReceiver: action:jp.co.ricoh.isdk.sdkservice.auth.custom.ui.NOTIFY_AUTH_SCREEN_DISP_STATE
10-13 11:24:06.981 3245 3245 I SdkServ:CustomUi: handleNotifyAuthScreenDispStatus
10-13 11:24:06.981 3245 3245 I SdkServ:CustomUi: dispState:true
10-13 11:24:07.011 2921 2921 W IInputConnectionWrapper: showStatusIcon on inactive InputConnection
10-13 11:24:07.011 2657 2981 W InputMethodManagerService: Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41108028 (uid=10018 pid=2921)
10-13 11:24:08.031 2314 2688 W audio_hw_primary: do_out_standby... 1074085896
10-13 11:24:08.661 2921 2921 D Launcher.Model: onReceive intent=Intent { act=jp.co.ricoh.advop.monitorservice.POWER_MODE_RESULT flg=0x10 (has extras) }
10-13 11:24:08.661 3259 3259 I CSPF_SWS: [SystemBroadcastReceiver]POWER_MODE_RESULT receive mode=0,result=true
10-13 11:24:08.691 3245 3245 D SystemReceiver: jp.co.ricoh.advop.monitorservice.POWER_MODE_RESULT receive
10-13 11:24:08.691 3245 3245 D SystemReceiver: POWER_MODE_RESULT receive mode=0,op_panel=0,result=true
10-13 11:24:08.701 3702 3702 I BRWS : BrowSrvRcvr:onReceive[jp.co.ricoh.isdk.sdkservice.system.PowerMode.POWER_MODE_RESULT]
10-13 11:24:08.701 4225 4225 I KA:FC:CM:IM:SysEvRcvr: Thread ACTION_POWER_MODE_RESULT run
10-13 11:24:08.701 4225 4225 I KA:FC:CM:IM:SysEvRcvr: event=POWER_MODE_RESULT extras=Bundle[{POWER_MODE=0}]
10-13 11:24:08.701 4225 4225 D KA:FC:CM:IM:SysEvRcvr: Thread ACTION_POWER_MODE_RESULT 0s
10-13 11:24:08.701 3702 3702 I BRWS : StateMgr:setUpadateSystemState:jp.co.ricoh.isdk.sdkservice.system.PowerMode.POWER_MODE_RESULT
10-13 11:24:08.701 3245 3245 D PowerMode: POWER_MODE_RESULT mode=0,opPanel=0 broadcast
10-13 11:24:08.701 3702 3702 I BRWS : BrowRcvr:onReceive[jp.co.ricoh.isdk.sdkservice.system.PowerMode.POWER_MODE_RESULT]
10-13 11:24:08.711 3702 3702 I BRWS : BrowSrv:onStartCommand
10-13 11:24:09.411 3259 3259 D CSPF_SWS: [SystemWrapperService]receive:SystemMessage [map={command=ntf_disp_system, system_scrn_disp=4, show=true, engine_scrn_disp=0}]
10-13 11:24:09.411 3259 3259 D CSPF_SWS: [SystemWrapperService]ignore SDK_SYS_DISP_STAT_SYS_USRLIMIT
10-13 11:24:11.051 3245 4449 D AsyncHttpManager: async connection monitoring...
10-13 11:24:11.331 3259 4158 I CSPF_AWS: [MLI] received[{"id":147637225034100,"command":"display","display":10,"productId":"34099971"}]
10-13 11:24:11.341 3259 3515 I CSPF_AWS: [RT] took[id=147637225034100]
10-13 11:24:11.341 3259 3515 I CSPF_AWS: [AWM] update[pid=34099971,NONE->USAGELIMIT]
10-13 11:24:11.341 3259 3514 I CSPF_AWS: [ST] send[{"command":"displayAns","id":147637225034100,"productId":"34099971"}]
10-13 11:24:11.341 3259 3514 I CSPF_AWS: [ST] result[true]
10-13 11:24:11.781 3245 3245 D SystemReceiver: jp.co.ricoh.advop.auth.LOGOUT_RESULT receive
10-13 11:24:11.781 3245 3245 D SystemReceiver: handleLogoutResult: currentSerialNumberOfIntent[43],serialNumberOfLogoutRelatedIntent[41]
10-13 11:24:11.781 3245 3245 I SdkServ:Auth: handleLogoutResult result:false
10-13 11:24:11.781 3245 3245 D SdkServ:AuthSM: previous:LOGOUT_ASK_ANS_OK next:LOGIN
10-13 11:24:11.901 3245 3245 D SdkServ:CusAuthSysReceiver: action:jp.co.ricoh.advop.authentication.AUTH_SERVICE_STATE_CHANGED
10-13 11:24:11.901 3245 3245 I SdkServ:CustomUi: handleAuthServiceStateChanged
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: state:login
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: trigger:logout_failed
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: userID[]
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: userName:****
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: error:0
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: CP:none DSD:none FP:none PP:none SP:none BP:none
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: MAP:none UAP:none DAP:none NAP:none CUP:none SVP:none
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: supplicantTerm:null
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: supplicantDevice:null
10-13 11:24:11.901 3245 3245 D SdkServ:CustomUi: supplicantRequestApplication:null
10-13 11:24:11.911 3245 3245 D SdkServ:CustomUi: CCMP:{monochro=false, autocolor=false, twocolor=false, fullcolor=false, singlecolor=false} PCMD:{monochro=false, twocolor=false, fullcolor=false}
10-13 11:24:11.971 3338 3338 D lrs.auth.uieh: AuthServiceStateChangedEvent received. state:LOGIN trigger:LOGOUT_FAILED
Thanks,
Chris
Authentication Application Logout Confirmation
Incident Properties
Question
Hello,
While customizing the authentication application I noticed that the "Authentication Button Pressed Event Notification" (jp.co.ricoh.isdk.sdkservice.auth.custom.ui.SYS_NOTIFY_AUTH_BUTTON_PRESSED) returns a boolean indicator "LOGOUT_CONFIRM".
I have been unable to find a setting on the device to changed the returned value to be "true".
My main reason for asking is that I am trying to determine if I need to have a logout confirmation screen or not. If it is a device setting my custom authentication application should probably support it. I just do not know where on the device to make the change to get the value to be returned as "true".
Thanks!
Chris