The reason I am asking is to find out if I can hold authentication details in a class instantiated in Main and then reference them in various controllers?
public Class Identity(){
Public String userId = null;
}
public Class Main extends Application(){
Identity identity = new Identity;
identity.userId = 123;
//can I access this from any controller now?
//I think that when i instantiate the object in a new controller the
//userId will again be null for that reference correct?
}