The map will contain the key for the "username", so it is not hard coded into the source code.
The JavaScript library does this already, and the iOS will do it soon as well (AGIOS-35)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
One solution could be using a similar approach like the enroll() method already does:
https://github.com/aerogear/aerogear-android/blob/master/src/org/jboss/aerogear/android/authentication/impl/AGSecurityAuthenticationModuleRunner.java#L65
The map will contain the key for the "username", so it is not hard coded into the source code.
The JavaScript library does this already, and the iOS will do it soon as well (AGIOS-35)