Looking from the Authentication class, i would prefer to have the following method added overthere:2. Additions of bridge.CloudContext: public int getMethod(String m); public int getDefaultMethod(); public String getDefaultApplication(int method);
- public String[] getApplications();
The first returned application should be the default, the other one's that are returned, are possible applications to use.
Maybe we even want to go as far as also adding a: - public String[] getLoginInfoKeys(String application); For name/password it will return name, password
You could then even build a generic login screen, which could generate the number of fields listed depending on the result of getLoginInfoKeys();
I think this will not work for ASelect, since the probebly use the parameters parameter from the security, to call a callback class, but this would solve the default problem in a nice way IMHO
(and ofcourse the bridge could get the getDefault, if you would really like that ;-) )
-- Eduard Witteveen +31 (0)6 414 789 23 nl_NL fy_NL en_US
_______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
