Changeset 5315
- Timestamp:
- 2003-08-28T12:35:07+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/GAuthenticator.java
r4675 r5315 71 71 private JPasswordField password = null; 72 72 /** The default size of this dialog. */ 73 static final private Dimension SIZE = new Dimension(410,1 30);73 static final private Dimension SIZE = new Dimension(410,140); 74 74 /** Constructor. */ 75 75 public GAuthenticator() { … … 115 115 button_panel.add(cancel_button); 116 116 117 content_pane.setLayout(new GridLayout(4,1 ));117 content_pane.setLayout(new GridLayout(4,1,0,2)); 118 118 content_pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 119 119 content_pane.add(title_label); … … 126 126 dialog.show(); 127 127 if(!authentication_cancelled) { 128 // Store the authentication 129 System.err.println("Storing the authentication for: " + getRequestingHost() + ":" + getRequestingPort()); 130 System.err.println("login@pass: " + username.getText() + "@" + new String(password.getPassword())); 131 Gatherer.authentications.put(getRequestingHost() + ":" + getRequestingPort(), username.getText() + "@" + new String(password.getPassword())); 128 132 return new PasswordAuthentication(username.getText(), password.getPassword()); 129 133 } else {
Note:
See TracChangeset
for help on using the changeset viewer.