2 // CredentialWindowController.m
5 // Created by Claudio on
14/07/07.
6 // Copyright
2007 INFN
- National Institute of Nuclear Physics.
All rights reserved.
9 #import "CredentialWindowController.h"
10 #import "AFSPropertyManager.h"
12 @implementation CredentialWindowController
13 // -------------------------------------------------------------------------------
15 // -------------------------------------------------------------------------------
20 // -------------------------------------------------------------------------------
22 // -------------------------------------------------------------------------------
23 - (IBAction
) getToken
:(id
) sender
25 uName
= [((NSTextField
*) textEditUserName
) stringValue
];
26 uPwd
= [((NSTextField
*) textEditPassword
) stringValue
];
27 if(uName
== @"" || uPwd
== @""
) return;
31 [[NSDistributedNotificationCenter defaultCenter
] postNotificationName
:kAFSMenuExtraID object
:kLogWindowClosed
];
35 // -------------------------------------------------------------------------------
37 // -------------------------------------------------------------------------------
38 - (IBAction
) closePanel
:(id
) sender
41 [[NSDistributedNotificationCenter defaultCenter
] postNotificationName
:kAFSMenuExtraID object
:kLogWindowClosed
];
45 // -------------------------------------------------------------------------------
47 // -------------------------------------------------------------------------------
53 // -------------------------------------------------------------------------------
55 // -------------------------------------------------------------------------------
61 // -------------------------------------------------------------------------------
63 // -------------------------------------------------------------------------------