/** * Invoke the native authentication call. * * @param username User to authenticate. * @param password Given password. * @returns true of false, indicating authentication status. * */ public String[] authenticate(String username, char[] password) { String[] grps = nativeAuthenticate(username, new String(password)); if(grps != null){ grps = addAssignGroups(grps); } setGroupNames(username, grps); return grps; }
/** * Invoke the native authentication call. * * @param username User to authenticate. * @param password Given password. * @returns true of false, indicating authentication status. * */ public String[] authenticate(String username, char[] password) { String[] grps = nativeAuthenticate(username, new String(password)); if(grps != null){ grps = addAssignGroups(grps); } setGroupNames(username, grps); return grps; }
/** * Invoke the native authentication call. * * @param username User to authenticate. * @param password Given password. * @returns true of false, indicating authentication status. * */ public String[] authenticate(String username, String password) { String[] grps = nativeAuthenticate(username, password); if(grps != null){ grps = addAssignGroups(grps); } setGroupNames(username, grps); return grps; }