INNER CODE UNIT · Java

getPasswordAuthentication

GrapheneOS/AttestationServer · src/main/java/app/attestation/server/AlertDispatcher.java:140

                                protected PasswordAuthentication getPasswordAuthentication() {
                                    return new PasswordAuthentication(emailUsername, emailPassword);
                                }
                            });
                }

                final ArrayList<Account> accountsForExpiryAlert = new ArrayList<>();
                final long now = System.currentTimeMillis();
                try {
                    selectAccountsForExpiryAlert.bind(1, now);
                    selectAccountsForExpiryAlert.bind(2, now - ALERT_THROTTLE_MS);
                    while (selectAccountsForExpiryAlert.step()) {
                        accountsForExpiryAlert.add(new Account(
                                selectAccountsForExpiryAlert.columnLong(0),
                                selectAccountsForExpiryAlert.columnString(1),
                                selectAccountsForExpiryAlert.columnInt(2)));
                    }
                } finally {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…