When we use the BasicAuth option for the Login page in ADF Mobile and when the User logged-in to the Mobile application –
To displayed the logged-in user in the AMX page –
<amx:outputText value=” #{securityContext.userName}” id=”ot1″ />
To get the logged-in user in the Managed Bean –
String username = (String)AdfmfJavaUtilities.evaluateELExpression(“#{securityContext.userName}”);