Another small patch.
This commit is contained in:
parent
b27f12e949
commit
7be6c81bd5
@ -1,5 +1,6 @@
|
|||||||
package com.jamesquinley.DelegationServices;
|
package com.jamesquinley.DelegationServices;
|
||||||
|
|
||||||
|
import com.jamesquinley.Asecure.electronicMailHandler;
|
||||||
import com.jamesquinley.Asecure.secureCalls;
|
import com.jamesquinley.Asecure.secureCalls;
|
||||||
import com.mongodb.BasicDBObject;
|
import com.mongodb.BasicDBObject;
|
||||||
|
|
||||||
@ -14,8 +15,13 @@ public class localNet {
|
|||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
System.out.println("Hey this user Logged In From A new Location, dispatching email!");
|
System.out.println("Hey this user Logged In From A new Location, dispatching email!");
|
||||||
secureCalls.locationBasedEmail(email,UName,NewMac, OldMac);
|
final Runnable runnable = new Runnable() {
|
||||||
System.out.println("Switching Trusted Net To New Local");
|
public void run() {
|
||||||
|
secureCalls.locationBasedEmail(email,UName,NewMac, OldMac);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
runnable.run();
|
||||||
|
System.out.println("Switching Trusted Net To New Local");
|
||||||
BasicDBObject searchQuery = new BasicDBObject();
|
BasicDBObject searchQuery = new BasicDBObject();
|
||||||
searchQuery.append("Token", Token);
|
searchQuery.append("Token", Token);
|
||||||
BasicDBObject updateQuery = new BasicDBObject();
|
BasicDBObject updateQuery = new BasicDBObject();
|
||||||
|
@ -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.
|
Also this is multi line so I can justify using this type of comment.
|
||||||
*/
|
*/
|
||||||
public class Main {
|
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.connectionInit(status.betaServer);
|
||||||
com.jamesquinley.DelegationServices.delegationServices.Purge();
|
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'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");
|
System.out.println("We've started everything, requests are now being served");
|
||||||
while (true) {
|
while (true) {
|
||||||
isolatedTimer();
|
isolatedTimer();
|
||||||
|
Thread.sleep(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user