2 // TokenCredentialController.m
5 // Created by Claudio Bisegni on 28/06/07.
6 // Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved.
9 #import "TokenCredentialController.h"
12 @implementation TokenCredentialController
13 // -------------------------------------------------------------------------------
15 // -------------------------------------------------------------------------------
21 // -------------------------------------------------------------------------------
23 // -------------------------------------------------------------------------------
24 - (IBAction) getToken:(id) sender
26 uName = [((NSTextField*) textEditUserName) stringValue];
27 uPwd = [((NSTextField*) textEditPassword) stringValue];
28 if(uName == @"" || uPwd == @"") return;
30 [NSApp endSheet:credentialPanel];
34 // -------------------------------------------------------------------------------
36 // -------------------------------------------------------------------------------
37 - (IBAction) closePanel:(id) sender
40 [NSApp endSheet:credentialPanel];
44 // -------------------------------------------------------------------------------
46 // -------------------------------------------------------------------------------
52 // -------------------------------------------------------------------------------
54 // -------------------------------------------------------------------------------
60 // -------------------------------------------------------------------------------
62 // -------------------------------------------------------------------------------