source: josm/trunk/src/org/openstreetmap/josm/io/auth/CredentialsAgentResponse.java@ 5344

Last change on this file since 5344 was 5266, checked in by bastiK, 12 years ago

fixed majority of javadoc warnings by replacing "{@see" by "{@link"

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io.auth;
3
4/**
5 * CredentialsAgentResponse represents the response from {@link CredentialsAgent#getCredentials(java.net.Authenticator.RequestorType, boolean)}.
6 *
7 * The response consists of the username and the password the requested credentials consists of.
8 * In addition, it provides information whether authentication was canceled by the user, i.e.
9 * because he or she canceled a username/password dialog (see {@link #isCanceled()}.
10 *
11 */
12public class CredentialsAgentResponse {
13 private String username;
14 private char[] password;
15 private boolean canceled;
16 public String getUsername() {
17 return username;
18 }
19 public void setUsername(String username) {
20 this.username = username;
21 }
22 public char[] getPassword() {
23 return password;
24 }
25 public void setPassword(char[] password) {
26 this.password = password;
27 }
28 public boolean isCanceled() {
29 return canceled;
30 }
31 public void setCanceled(boolean canceled) {
32 this.canceled = canceled;
33 }
34}
Note: See TracBrowser for help on using the repository browser.