Another small patch.
This commit is contained in:
parent
b27f12e949
commit
7be6c81bd5
@ -1,5 +1,6 @@
|
||||
package com.jamesquinley.DelegationServices;
|
||||
|
||||
import com.jamesquinley.Asecure.electronicMailHandler;
|
||||
import com.jamesquinley.Asecure.secureCalls;
|
||||
import com.mongodb.BasicDBObject;
|
||||
|
||||
@ -14,7 +15,12 @@ public class localNet {
|
||||
} else
|
||||
{
|
||||
System.out.println("Hey this user Logged In From A new Location, dispatching email!");
|
||||
final Runnable runnable = new Runnable() {
|
||||
public void run() {
|
||||
secureCalls.locationBasedEmail(email,UName,NewMac, OldMac);
|
||||
}
|
||||
};
|
||||
runnable.run();
|
||||
System.out.println("Switching Trusted Net To New Local");
|
||||
BasicDBObject searchQuery = new BasicDBObject();
|
||||
searchQuery.append("Token", Token);
|
||||
|
@ -6,13 +6,14 @@ Hey there! This is the source code for AOTSK-Delegation Server, self explanatory
|
||||
Also this is multi line so I can justify using this type of comment.
|
||||
*/
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
com.jamesquinley.DelegationServices.delegationServices.connectionInit(status.betaServer);
|
||||
com.jamesquinley.DelegationServices.delegationServices.Purge();
|
||||
System.out.println("We're starting the login delegation server, please wait one moment while we check a few things.");
|
||||
System.out.println("We've started everything, requests are now being served");
|
||||
while (true) {
|
||||
isolatedTimer();
|
||||
Thread.sleep(500);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user