Working implementation of every digest needed for LDAP servers

git-svn-id: https://svn.coded.pt/svn/SIPRP@943 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Nuno Taborda 17 years ago
parent 681c4cd55e
commit a8992006fc

@ -14256,8 +14256,8 @@ public class AnaliseAcidenteTrabalho extends AbstractPageBean {
public class SMTPAuthenticator extends Authenticator {
public PasswordAuthentication getPasswordAuthentication() {
String username = "lluis";
String password = "654321";
String username = "acidentes.auchan";
String password = "47Ju6Vb";
return new PasswordAuthentication(username, password);
}
}
@ -14268,8 +14268,8 @@ public class AnaliseAcidenteTrabalho extends AbstractPageBean {
props.put("mail.smtp.host", "mail2.evolute.pt");
props.put("mail.from", emailFrom);
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.user", "lluis");
props.put("mail.smtp.password", "654321");
props.put("mail.smtp.user", "acidentes.auchan");
props.put("mail.smtp.password", "47Ju6Vb");
// Session session1 = Session.getInstance(props);
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getDefaultInstance(props, auth);

Loading…
Cancel
Save