100+ results for '"String password"'
Not the results you expected?
UserRepository.cs (https://bitbucket.org/sourcecode71/arml.git) C# · 242 lines
87 }
88 public string CheckUserAuthentication(string UserId, string Password)
89 {
92 }
93 public string CheckUserPagePermission(string UserId, string PageId)
94 {
97 }
98 public void SaveUserSession(string strGuid, string strUserId, string strPassword, string strHostIP)
99 {
102 logHis.USER_ID = strUserId;
103 logHis.PASSWORD = strPassword;
104 logHis.HOST_IP = strHostIP;
226 {
227 string groupNames=string.Empty;
228 var result = from ug in Context.SEC_USER_GROUP
HttpServletRequestWrapper.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 296 lines
79 */
80 public String getHeader(String name) {
81 return this._getHttpServletRequest().getHeader(name);
87 */
88 public Enumeration<String> getHeaders(String name) {
89 return this._getHttpServletRequest().getHeaders(name);
127 */
128 public String getPathTranslated() {
129 return this._getHttpServletRequest().getPathTranslated();
143 */
144 public String getQueryString() {
145 return this._getHttpServletRequest().getQueryString();
266 */
267 public void login(String username, String password) throws ServletException {
268 this._getHttpServletRequest().login(username, password);
MailSubsystemParser.java (https://github.com/tomathome/jboss-as.git) Java · 236 lines
36 public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException {
37 context.startSubsystemElement(Namespace.CURRENT.getUriString(), false);
86 }
87 writer.writeAttribute(Attribute.SERVER_ADDRESS.getLocalName(), server.get(ModelKeys.SERVER_ADDRESS).asString());
88 writer.writeAttribute(Attribute.SERVER_PORT.getLocalName(), server.get(ModelKeys.SERVER_PORT).asString());
91 writer.writeAttribute(Attribute.USERNAME.getLocalName(), server.get(ModelKeys.CREDENTIALS).get(ModelKeys.USERNAME).asString());
92 writer.writeAttribute(Attribute.PASSWORD.getLocalName(), server.get(ModelKeys.CREDENTIALS).get(ModelKeys.PASSWORD).asString());
93 writer.writeEndElement();
167 if (attr == Attribute.JNDI_NAME) {
168 String jndiName = value;
169 log.trace("jndi name: " + jndiName);
213 String username = null;
214 String password = null;
215 while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
nsICertificateDialogs.h (https://github.com/wyona/yulup.git) C Header · 220 lines
79 */
80 /* boolean setPKCS12FilePassword (in nsIInterfaceRequestor ctx, out AString password); */
81 NS_IMETHOD SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) = 0;
132 NS_IMETHOD NotifyCACertExists(nsIInterfaceRequestor *ctx) { return _to NotifyCACertExists(ctx); } \
133 NS_IMETHOD SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return _to SetPKCS12FilePassword(ctx, password, _retval); } \
134 NS_IMETHOD GetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return _to GetPKCS12FilePassword(ctx, password, _retval); } \
142 NS_IMETHOD SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPKCS12FilePassword(ctx, password, _retval); } \
143 NS_IMETHOD GetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPKCS12FilePassword(ctx, password, _retval); } \
144 NS_IMETHOD ViewCert(nsIInterfaceRequestor *ctx, nsIX509Cert *cert) { return !_to ? NS_ERROR_NULL_POINTER : _to->ViewCert(ctx, cert); } \
191 /* boolean setPKCS12FilePassword (in nsIInterfaceRequestor ctx, out AString password); */
192 NS_IMETHODIMP nsCertificateDialogs::SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval)
197 /* boolean getPKCS12FilePassword (in nsIInterfaceRequestor ctx, out AString password); */
198 NS_IMETHODIMP nsCertificateDialogs::GetPKCS12FilePassword(nsIInterfaceRequestor *ctx, nsAString & password, PRBool *_retval)
FirebaseiOSImpl.cs (https://gitlab.com/vectorci/Firebase-Unity) C# · 289 lines
30 public delegate void OnAuthSuccessHandler(int reference, String token, String uid, int expiration);
31 public delegate void OnAuthCancelHandler(int reference, int code, String message, String details);
104 private static extern void _FirebaseAuthWithPassword (IntPtr firebase, string email,
105 string password,
106 OnAuthSuccessHandler success, OnAuthCancelHandler cancel,
209 public void AuthWithPassword (string email, string password, Action<AuthData> onSuccess, Action<FirebaseError> onError)
210 {
241 [MonoPInvokeCallbackAttribute(typeof(OnAuthSuccessHandler))]
242 static void onAuthSuccess(int reference, String token, String uid, int expiration) {
243 Action<AuthData> callback = null;
255 [MonoPInvokeCallbackAttribute(typeof(OnAuthCancelHandler))]
256 static void onAuthCancel(int reference, int code, String message, String details) {
257 Action<FirebaseError> callback = null;
AccountManager.java (https://github.com/JTroniks/CyanogenMod-7.git) Java · 57 lines
12 public android.accounts.AccountManagerFuture<android.accounts.Account[]> getAccountsByTypeAndFeatures(java.lang.String type, java.lang.String[] features, android.accounts.AccountManagerCallback<android.accounts.Account[]> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
13 public boolean addAccountExplicitly(android.accounts.Account account, java.lang.String password, android.os.Bundle userdata) { throw new RuntimeException("Stub!"); }
14 public android.accounts.AccountManagerFuture<java.lang.Boolean> removeAccount(android.accounts.Account account, android.accounts.AccountManagerCallback<java.lang.Boolean> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
16 public java.lang.String peekAuthToken(android.accounts.Account account, java.lang.String authTokenType) { throw new RuntimeException("Stub!"); }
17 public void setPassword(android.accounts.Account account, java.lang.String password) { throw new RuntimeException("Stub!"); }
18 public void clearPassword(android.accounts.Account account) { throw new RuntimeException("Stub!"); }
23 public android.accounts.AccountManagerFuture<android.os.Bundle> getAuthToken(android.accounts.Account account, java.lang.String authTokenType, boolean notifyAuthFailure, android.accounts.AccountManagerCallback<android.os.Bundle> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
24 public android.accounts.AccountManagerFuture<android.os.Bundle> addAccount(java.lang.String accountType, java.lang.String authTokenType, java.lang.String[] requiredFeatures, android.os.Bundle addAccountOptions, android.app.Activity activity, android.accounts.AccountManagerCallback<android.os.Bundle> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
25 public android.accounts.AccountManagerFuture<android.os.Bundle> confirmCredentials(android.accounts.Account account, android.os.Bundle options, android.app.Activity activity, android.accounts.AccountManagerCallback<android.os.Bundle> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
27 public android.accounts.AccountManagerFuture<android.os.Bundle> editProperties(java.lang.String accountType, android.app.Activity activity, android.accounts.AccountManagerCallback<android.os.Bundle> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
28 public android.accounts.AccountManagerFuture<android.os.Bundle> getAuthTokenByFeatures(java.lang.String accountType, java.lang.String authTokenType, java.lang.String[] features, android.app.Activity activity, android.os.Bundle addAccountOptions, android.os.Bundle getAuthTokenOptions, android.accounts.AccountManagerCallback<android.os.Bundle> callback, android.os.Handler handler) { throw new RuntimeException("Stub!"); }
29 public void addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener listener, android.os.Handler handler, boolean updateImmediately) { throw new RuntimeException("Stub!"); }
41 public static final java.lang.String KEY_INTENT = "intent";
42 public static final java.lang.String KEY_PASSWORD = "password";
43 public static final java.lang.String KEY_ACCOUNTS = "accounts";
Kunde.java (https://bitbucket.org/cprenzberg/resteasy.git) Java · 311 lines
Security.designer.cs (https://gitlab.com/DiruzCode/ingenio_streaming) C# · 352 lines
92 private string _password;
98 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_username", CanBeNull=false)]
99 public string username
100 {
114 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_password", CanBeNull=false)]
115 public string password
116 {
122 {
123 if ((this._password != value))
124 {
143 private string _fullname;
SslConnector.java (https://github.com/dekellum/jetty.git) Java · 330 lines
32 @Deprecated
33 public static final String KEYPASSWORD_PROPERTY = "org.eclipse.jetty.ssl.keypassword";
36 @Deprecated
37 public static final String PASSWORD_PROPERTY = "org.eclipse.jetty.ssl.password";
87 @Deprecated
88 public abstract void setPassword(String password);
95 @Deprecated
96 public abstract void setTrustPassword(String password);
104 @Deprecated
105 public abstract void setKeyPassword(String password);
UserEntity.java (https://github.com/akollegger/akka-jersey-samples.git) Java · 225 lines
59 @NamedQuery(name = "UserEntity.findByUserid", query = "SELECT u FROM UserEntity u WHERE u.userid = :userid"),
60 @NamedQuery(name = "UserEntity.findByPassword", query = "SELECT u FROM UserEntity u WHERE u.password = :password"),
61 @NamedQuery(name = "UserEntity.findByUsername", query = "SELECT u FROM UserEntity u WHERE u.username = :username"),
70 @Column(name = "PASSWORD", nullable = false)
71 private String password;
98 */
99 public UserEntity(String userid, String password) {
100 this.userid = userid;
123 */
124 public String getPassword() {
125 return this.password;
131 */
132 public void setPassword(String password) {
133 this.password = password;
UserDao.java (https://gitlab.com/FoodUpProject/FoodUp) Java · 573 lines
87 public String getPasswordById(Connection con, int id) throws SQLException {
88 PreparedStatement ps = null;
107 public String getPasswordByMail(Connection con, String email) throws SQLException {
108 PreparedStatement ps = null;
148 public int getUserId(Connection con, String email, String password) throws SQLException {
307 public int insertUser(Connection con, User user, String password) throws SQLException {
318 ps.setString(4, user.getMail());
319 ps.setString(5, password);
320 ps.setTimestamp(6, new Timestamp(user.getLastUpdate()));
AbstractRadiusServer.java (https://github.com/frett/cas.git) Java · 195 lines
30 import net.jradius.packet.attribute.AttributeList;
31 import org.apache.commons.lang3.StringUtils;
32 import org.apereo.inspektr.common.web.ClientInfoHolder;
73 private final RadiusClientFactory radiusClientFactory;
74 private final String nasIpAddress;
95 public AbstractRadiusServer(final RadiusProtocol protocol, final RadiusClientFactory clientFactory, final int retries,
96 final String nasIpAddress, final String nasIpv6Address, final long nasPort, final long nasPortId,
97 final String nasIdentifier, final long nasRealPort, final long nasPortType) {
110 @Override
111 public final CasRadiusResponse authenticate(final String username, final String password, final Optional state) throws Exception {
112 val attributeList = new AttributeList();
118 if (StringUtils.isNotBlank(password)) {
119 attributeList.add(new Attr_UserPassword(password));
120 }
Utilities.cs (https://gitlab.com/cealer/Notas) C# · 216 lines
86 public static void CreateUserASP(string email, string roleName, string password)
87 {
100 public static async Task SendMail(string to, string subject, string body)
101 {
125 public static async Task SendMail(List<string> mails, string subject, string body)
126 {
143 UserName = WebConfigurationManager.AppSettings["AdminUser"],
144 Password = WebConfigurationManager.AppSettings["AdminPassWord"]
145 };
170 var random = new Random();
171 var newPassword = string.Format("{0}{1}{2:04}*",
172 user.FirstName.Trim().ToUpper().Substring(0, 1),
ArcSDEConnectionConfig.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 223 lines
48 /** ArcSDE database user password parameter name */
49 public static final String PASSWORD_PARAM_NAME = "password";
69 /** database user password */
70 private String password;
121 public void setPassword(String password) {
122 this.password = password;
198 config.setDatabaseName(String.valueOf(map.get(INSTANCE_NAME_PARAM_NAME)));
199 config.setPassword(String.valueOf(map.get(PASSWORD_PARAM_NAME)));
200 config.setPortNumber(String.valueOf(map.get(PORT_NUMBER_PARAM_NAME)));
213 params.put(INSTANCE_NAME_PARAM_NAME, getDatabaseName());
214 params.put(PASSWORD_PARAM_NAME, getPassword());
215 params.put(PORT_NUMBER_PARAM_NAME, getPortNumber());
Driver40.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 208 lines
68 protected EmbedConnection getNewEmbedConnection(String url, Properties info)
69 throws SQLException {
175 protected PooledConnection getNewPooledConnection(
176 EmbeddedDataSource eds, String user, String password,
177 boolean requestPassword) throws SQLException
179 return new EmbedPooledConnection40(
180 eds, user, password, requestPassword);
181 }
188 EmbeddedDataSource eds, ResourceAdapter ra,
189 String user, String password, boolean requestPassword)
190 throws SQLException
192 return new EmbedXAConnection40(
193 eds, ra, user, password, requestPassword);
194 }
CloudFoundryCommands.java (https://github.com/abadongutierrez/spring-roo.git) Java · 257 lines
52 @CliOption(key = "email", mandatory = false, help = "The user's email address") CloudLoginEmail loginEmail,
53 @CliOption(key = "password", mandatory = false, help = "The user's password") String password,
54 @CliOption(key = "cloudControllerUrl", mandatory = false, help = "The cloud controller to target. Defaults to '" + UaaAwareAppCloudClient.CLOUD_FOUNDRY_URL + "'") CloudControllerUrl cloudControllerUrl) {
56 String url = null;
57 String email = null;
63 }
64 cloudFoundryOperations.login(email, password, url);
65 }
74 @CliOption(key = "serviceType", mandatory = true, help = "The service type") ServiceConfiguration service,
75 @CliOption(key = "serviceName", mandatory = true, help = "The name of your service instance") String name,
76 @CliOption(key = "appName", mandatory = false, help = "The name of the app to bind the service to") CloudApp bind) {
78 String appName = null;
79 if (bind != null) {
KnowledgeBaseAttachmentResource.java (https://github.com/danielkocsis/liferay-portal.git) Java · 409 lines
84 public Builder authentication(String login, String password) {
85 _login = login;
86 _password = password;
95 public Builder endpoint(String host, int port, String scheme) {
96 _host = host;
128 private String _password = "test";
129 private Map<String, String> _parameters = new LinkedHashMap<>();
130 private int _port = 8080;
372 for (Map.Entry<String, String> entry :
373 _builder._headers.entrySet()) {
CassandraCacheStoreConfig.java (https://bitbucket.org/cprenzberg/infinispan.git) Java · 254 lines
80 * @configRef desc=
81 * "The keymapper for converting keys to strings (uses the DefaultTwoWayKey2Stringmapper by default)"
82 */
83 String keyMapper = DefaultTwoWayKey2StringMapper.class.getName();
170 public String getPassword() {
171 return poolProperties.getPassword();
183 public void setPassword(String password) {
184 poolProperties.setPassword(password);
223 // Apply all properties to the PoolProperties object
224 for (String propertyName : p.stringPropertyNames()) {
225 poolProperties.set(propertyName, p.getProperty(propertyName));
WorkflowInstanceResource.java (https://github.com/brunobasto/liferay-portal.git) Java · 505 lines
88 public Builder authentication(String login, String password) {
89 _login = login;
90 _password = password;
99 public Builder endpoint(String host, int port, String scheme) {
100 _host = host;
183 for (Map.Entry<String, String> entry :
184 _builder._headers.entrySet()) {
343 for (Map.Entry<String, String> entry :
344 _builder._parameters.entrySet()) {
UserAccount.java (https://github.com/danielreuther/liferay-portal.git) Java · 660 lines
64 public void setActions(Map<String, Map<String, String>> actions) {
65 this.actions = actions;
68 public void setActions(
69 UnsafeSupplier<Map<String, Map<String, String>>, Exception>
70 actionsUnsafeSupplier) {
80 protected Map<String, Map<String, String>> actions;
524 public void setPassword(String password) {
525 this.password = password;
650 public int hashCode() {
651 String string = toString();
XmlRpcWorker.java (https://gitlab.com/manoj-makkuboy/magnetism) Java · 189 lines
90 .execute(request.getMethodName(), request.getParameters(),
91 context.getUserName(), context.getPassword());
92 }
113 */
114 public byte[] execute(InputStream is, String user, String password)
115 {
116 return execute(is, defaultContext(user, password));
117 }
181 * @param user the username of the user making the request.
182 * @param password the password of the user making the request.
183 * @return XmlRpcContext the context for the reqeust.
184 */
185 protected XmlRpcContext defaultContext(String user, String password)
186 {
PortletKeys.java (https://github.com/danielreuther/liferay-portal.git) Java · 206 lines
22 public static final String ADMIN_PLUGINS = "136";
24 public static final String ALERTS =
25 "com_liferay_announcements_web_portlet_AlertsPortlet";
27 public static final String ANNOUNCEMENTS =
28 "com_liferay_announcements_web_portlet_AnnouncementsPortlet";
30 public static final String BACKGROUND_TASK = "189";
130 public static final String PASSWORD_POLICIES_ADMIN =
131 "com_liferay_password_policies_admin_web_portlet_" +
ExternalServicesPropertiesReadPlatformServiceImpl.java (https://gitlab.com/skylabase/incubator-fineract) Java · 150 lines
71 String username = null;
72 String password = null;
73 String host = null;
79 username = rs.getString("value");
80 } else if (rs.getString("name").equalsIgnoreCase(ExternalServicesConstants.SMTP_PASSWORD)) {
81 password = rs.getString("value");
82 } else if (rs.getString("name").equalsIgnoreCase(ExternalServicesConstants.SMTP_HOST)) {
83 host = rs.getString("value");
84 } else if (rs.getString("name").equalsIgnoreCase(ExternalServicesConstants.SMTP_PORT)) {
98 // TODO Auto-generated method stub
99 final String name = rs.getString("name");
100 String value = rs.getString("value");
101 // Masking the password as we should not send the password back
102 if (name != null && "password".equalsIgnoreCase(name)) {
NodeResource.java (https://github.com/yangbenf/abiquo.git) Java · 191 lines
91 @Path(HYPERVISOR)
92 public String getHypervisorType(@PathParam(HOST_IP) @NotNull @Ip final String ip,
93 @QueryParam(AIMPORT) @DefaultValue("8889") @Port final Integer aimport)
113 @QueryParam("user") @NotNull final String user,
114 @QueryParam("passwd") @NotNull final String password,
115 @QueryParam(AIMPORT) @DefaultValue("8889") @Port final Integer aimport)
127 }
128 return hostService.getHostInfo(ip, hypType, user, password, aimport);
143 @QueryParam("user") @NotNull final String user,
144 @QueryParam("passwd") @NotNull final String password,
145 @QueryParam(AIMPORT) @DefaultValue("8889") @Port final Integer aimport)
172 @QueryParam("user") @NotNull final String user,
173 @QueryParam("passwd") @NotNull final String password,
174 @QueryParam(AIMPORT) @DefaultValue("8889") @Port final Integer aimport)
AsyncOAuthSupport.java (https://github.com/Mocel/twitter4j.git) Java · 130 lines
54 */
55 void getOAuthRequestTokenAsync(String callbackURL, String xAuthAccessType);
68 */
69 void getOAuthRequestTokenAsync(String callbackURL, String xAuthAccessType, String xAuthMode);
118 * In order to get access acquire AccessToken using xAuth, you must apply by sending an email to api@twitter.com — all other applications will receive an HTTP 401 error. Web-based applications will not be granted access, except on a temporary basis for when they are converting from basic-authentication support to full OAuth support.<br>
119 * Storage of Twitter usernames and passwords is forbidden. By using xAuth, you are required to store only access tokens and access token secrets. If the access token expires or is expunged by a user, you must ask for their login and password again before exchanging the credentials for an access token.
120 *
121 * @param screenName the screen name
122 * @param password the password
123 * @see <a href="https://dev.twitter.com/docs/auth/oauth/faq">OAuth FAQ | dev.twitter.com - How long does an access token last?</a>
127 */
128 void getOAuthAccessTokenAsync(String screenName, String password);
PeopleServiceImplTest.java (https://bitbucket.org/vlalov/rivetlogic-cma.git) Java · 265 lines
52 NodeRef subGroupRef2 = null;
53 String groupName = "cmaTestGroupParent " + System.currentTimeMillis();
54 String subGroupName1 = "cmaTestSubGroup " + System.currentTimeMillis();
57 // user variables
58 String firstName1 = "cmaTestUser1FirstName";
59 String lastName1 = "cmaTestUser1LastName";
60 String userName1 = "peopleServiceCmaTestUser " + System.currentTimeMillis();
61 String password1 = "peopleServiceCmaTestUser1";
62 String firstName2 = "cmaTestUser2FirstName";
64 String userName2 = "peopleServiceCmaTestUser " + System.currentTimeMillis() + 1;
65 String password2 = "peopleServiceCmaTestUser2";
246 List<String> authorities = new ArrayList<String>(2);
247 authorities.add(userName1);
JotifyPool.java (https://github.com/arildbjerkenes/jotify.git) Java · 554 lines
31 private String username;
32 private String password;
118 public void login(String username, String password) throws ConnectionException, AuthenticationException {
119 /* Check if connections are available. */
158 public Result toplist(String type, String region, String username) throws TimeoutException {
159 Jotify connection = this.getConnection();
363 public Playlist playlistCreate(String name, boolean collaborative, String description, String picture) throws TimeoutException {
364 Jotify connection = this.getConnection();
473 public boolean playlistSetInformation(Playlist playlist, String description, String picture) throws TimeoutException {
474 Jotify connection = this.getConnection();
SshComponentConfiguration.java (https://gitlab.com/matticala/apache-camel) Java · 401 lines
57 */
58 private String password;
59 /**
138 public void setPassword(String password) {
139 this.password = password;
228 *
229 * @param passwordString
230 * representing password for username at remote host.
231 */
232 private String password;
233 /**
330 public void setPassword(String password) {
331 this.password = password;
XmlRpcHandler.cs (https://bitbucket.org/oleg_ator/orchard.test.git) C# · 170 lines
52 GetId(context.Response),
53 Convert.ToString(context.Request.Params[0].Value),
54 Convert.ToString(context.Request.Params[1].Value),
72 Convert.ToString(context.Request.Params[1].Value),
73 Convert.ToString(context.Request.Params[2].Value),
74 context._drivers);
79 private void MetaWeblogGetCustomPublishedDate(XRpcStruct postStruct, int itemId, string userName, string password, ICollection<IXmlRpcDriver> drivers) {
80 if (itemId < 1)
107 private void MetaWeblogSetCustomPublishedDate(int contentItemId, string appKey, string userName, string password, XRpcStruct content, bool publish, ICollection<IXmlRpcDriver> drivers) {
108 var user = ValidateUser(userName, password);
149 private IUser ValidateUser(string userName, string password) {
150 IUser user = _membershipService.ValidateUser(userName, password);
WS.java (https://github.com/julienrf/playframework.git) Java · 355 lines
61 private WSRequest auth(String username, String password, AuthScheme scheme) {
62 this.setRealm((new RealmBuilder())
102 private final String url;
103 private Map<String, Collection<String>> headers = new HashMap<String, Collection<String>>();
104 private Map<String, Collection<String>> queryParameters = new HashMap<String, Collection<String>>();
106 private String username = null;
107 private String password = null;
108 private AuthScheme scheme = null;
156 */
157 public WSRequestHolder setAuth(String username, String password, AuthScheme scheme) {
158 this.username = username;
255 private Promise<Response> executeString(String method, String body) {
256 WSRequest req = new WSRequest(method).setBody(body)
EdbcDataSource.java (https://github.com/akdh/Ingres.git) Java · 738 lines
286 public void
287 setPassword( String password )
288 { this.password = password; }
399 public Connection
400 getConnection( String user, String password )
401 throws SQLException
409 if ( user == null ) user = this.user;
410 if ( password == null ) password = this.password;
688 if ( password != null )
689 ref.add( new StringRefAddr( "password", password ) );
700 if ( dbmsPassword != null )
701 ref.add( new StringRefAddr( "dbmsPassword", dbmsPassword ) );
SOAP.php (https://github.com/usagi-project/mynets1.git) PHP · 228 lines
65 * 'usernamefield' => 'login',
66 * 'passwordfield' => 'password',
67 * 'matchpasswords' => false,
105 'usernamefield',
106 'passwordfield',
107 );
167 * @param string Username
168 * @param string Password
169 * @return mixed Returns the SOAP response or false if something went wrong
193 $usernameField = new SOAP_Value($this->_options['usernamefield'],'string', $username);
194 $passwordField = new SOAP_Value($this->_options['passwordfield'],'string', $password);
195 $SOAPParams = array($usernameField, $passwordField);
211 // check if passwords match
212 if ($password == $this->soapResponse->{$this->_options['passwordfield']}) {
213 return true;
IndividualRepository.cs (https://github.com/isel-31401/ISEL-LEIC-PI-31401.git) C# · 235 lines
28 public Boolean ChangePassWord(String user, String oldPassword, String newPassword)
29 {
106 }
107 public Boolean ConfirmRegistration(String username, String password, int confirmationCode)
108 {
138 }
139 public MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
140 {
172 public Boolean ChangePasswordQuestionAndAnswer(string username, string password, string newPasswordQuestion, string newPasswordAnswer)
173 {
212 public bool ValidateUser(string username, string password)
213 {
Reference.cs (https://bitbucket.org/jrobertshawe/off-campus-server.git) C# · 238 lines
45 private string passwordField;
60 [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="token", Order=1)]
61 public string password {
62 get {
136 public getBeachRequest(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication, string beachKey, string beachName) {
137 this.ctAuthentication = ctAuthentication;
216 public string getBeach(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication, string beachKey, string beachName) {
217 SLSTOffCampusWeb.ABSAMP.getBeachRequest inValue = new SLSTOffCampusWeb.ABSAMP.getBeachRequest();
230 public System.Threading.Tasks.Task<SLSTOffCampusWeb.ABSAMP.getBeachResponse> getBeachAsync(SLSTOffCampusWeb.ABSAMP.ctAuthentication ctAuthentication, string beachKey, string beachName) {
231 SLSTOffCampusWeb.ABSAMP.getBeachRequest inValue = new SLSTOffCampusWeb.ABSAMP.getBeachRequest();
AuthenticationDetails.java (https://gitlab.com/github-cloud-corp/aws-sdk-android) Java · 185 lines
33 public class AuthenticationDetails {
34 public final static String PASSWORD_AUTHENTICATION = "PASSWORD_VERIFIER";
35 public final static String CUSTOM_AUTHENTICATION = "CUSTOM_CHALLENGE";
37 private String userId;
38 private String password;
39 private List<AttributeType> validationData;
45 * @param userId REQUIRED: User ID, NOTE: This will over ride the current Used ID.
46 * @param password REQUIRED: Users' password.
47 * @param validationData REQUIRED: Validation data parameters for the pre-auth lambda.
48 */
49 public AuthenticationDetails(String userId, String password, Map<String, String> validationData){
50 this.authenticationType = PASSWORD_AUTHENTICATION;
61 */
62 public AuthenticationDetails(String userId, Map<String, String> authenticationParameters, Map<String, String> validationData) {
63 this.userId = userId;
CosFileTransfer.idl (https://github.com/elaufis/otp.git) IDL · 157 lines
10 typedef string Istring;
11 typedef Istring ProtocolAddress;
22 exception CommandNotImplementedException { Istring reason; };
23 exception SessionException { Istring reason; };
24 exception TransferException { Istring reason; };
25 exception FileNotFoundException { Istring reason; };
26 exception RequestFailureException { Istring reason; };
27 exception IllegalOperationException { Istring reason; };
151 FileTransferSession login(in Istring username, in Istring password,
152 in Istring account, out Directory root)
Regression657.java (git://pkgs.fedoraproject.org/resteasy) Java · 366 lines
214 @QueryParam("password")
215 String password,
216 @QueryParam("username")
258 @Override
259 public UserRestService getUserService(String entity, String ticket, String userId)
260 {
275 @Override
276 public Boolean update(@PathParam("id") String id, @QueryParam("adaId") String adaId, @QueryParam("name") String name, @QueryParam("surname") String surname, @QueryParam("address") String address, @QueryParam("city") String city, @QueryParam("country") String country, @QueryParam("zipcode") String zipcode, @QueryParam("email") String email, @QueryParam("phone") String phone, @QueryParam("phone") String timezone)
277 {
281 @Override
282 public Boolean updatePassword(@PathParam("username") String username, List<String> passwords)
283 {
287 @Override
288 public Boolean create(@QueryParam("email") String email, @QueryParam("password") String password, @QueryParam("username") String username)
289 {
Party.java (https://gitlab.com/Slind/mcMMO) Java · 343 lines
25 private String name;
26 private String password;
27 private boolean locked;
52 public Party(String leader, String name, String password) {
53 this.leader = leader;
54 this.name = name;
55 this.password = password;
56 this.locked = true;
60 public Party(String leader, String name, String password, boolean locked) {
61 this.leader = leader;
126 public void setPassword(String password) {
127 this.password = password;
CustomTestLoginModule.java (https://github.com/tomathome/jboss-as.git) Java · 137 lines
65 username = s[0];
66 String password = s[1];
67 if (username.equals("anil")) {
110 NameCallback nc = new NameCallback("User name: ", "guest");
111 PasswordCallback pc = new PasswordCallback("Password: ", false);
112 Callback[] callbacks = { nc, pc };
113 String username = null;
114 String password = null;
115 try {
117 username = nc.getName();
118 char[] tmpPassword = pc.getPassword();
119 if (tmpPassword != null) {
120 pc.clearPassword();
121 password = new String(tmpPassword);
122 }
DDMRESTDataProviderSettings.java (https://github.com/danielreuther/liferay-portal.git) Java · 158 lines
ConexionBD.java (https://bitbucket.org/qckzr/teg-hs.git) Java · 195 lines
17 private String usuario;
18 private String password;
19 private String puerto;
33 public ConexionBD(String usuario, String password, String puerto,
34 String ipBd) {
35 this.usuario = usuario;
36 this.password = password;
37 this.puerto = puerto;
45 public String getPassword() {
46 return password;
49 public void setPassword(String password) {
50 this.password = password;
SignatureSOAPHeaderAuthStrategyTest.java (https://gitlab.com/CORP-RESELLER/sdk-core-java) Java · 104 lines
52 String username= user.item(0).getTextContent();
53 String password = psw.item(0).getTextContent();
54 String signature = sign.item(0).getTextContent();
57 Assert.assertEquals("testusername", username);
58 Assert.assertEquals("testpassword", password);
59 Assert.assertEquals("testsignature", signature);
77 String username= user.item(0).getTextContent();
78 String password = psw.item(0).getTextContent();
79 String signature = sign.item(0).getTextContent();
82 Assert.assertEquals("testusername", username);
83 Assert.assertEquals("testpassword", password);
84 Assert.assertEquals("testsignature", signature);
96 private Document loadXMLFromString(String xml) throws Exception
97 {
SignUpRequest.cs (https://gitlab.com/CORP-RESELLER/aws-sdk-net) C# · 154 lines
31 /// Container for the parameters to the SignUp operation.
32 /// Registers the user in the specified user pool and creates a user name, password, and
33 /// user attributes.
37 private string _clientId;
38 private string _password;
39 private string _secretHash;
40 private List<AttributeType> _userAttributes = new List<AttributeType>();
41 private string _username;
42 private List<AttributeType> _validationData = new List<AttributeType>();
67 /// </summary>
68 public string Password
69 {
70 get { return this._password; }
71 set { this._password = value; }
RmqConnector.java (https://github.com/Ricston/mule-transport-rmq.git) Java · 279 lines
34 public static final String DEFAULT_USERNAME = "guest";
35 public static final String DEFAULT_PASSWORD = "guest";
36 public static final String DEFAULT_VIRTUALHOST = "/";
59 private String username = DEFAULT_USERNAME;
60 private String password = DEFAULT_PASSWORD;
89 if (vhost != null) factory.setVirtualHost(vhost);
90 if (password != null) factory.setPassword(password);
91 if (username != null) factory.setUsername(username);
234 public void setPassword(String password)
235 {
236 this.password = password;
237 }
LockAction.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 160 lines
✨ Summary
This Java class, LockAction
, extends SVNAction
and is responsible for performing an SVN lock action. It creates a dialog to input paths and credentials, then uses a SwingWorker to execute the lock operation in the background. The result is displayed in a panel with the locked files.
This Java class, LockAction
, extends SVNAction
and is responsible for performing an SVN lock action. It creates a dialog to input paths and credentials, then uses a SwingWorker to execute the lock operation in the background. The result is displayed in a panel with the locked files.
59 private LockDialog dialog = null;
60 private List<String> paths = null;
61 private boolean remote = false;
66 * @param username the username for the svn repository
67 * @param password the password for the username
68 * @param remote true if attempting to lock a remote repository file
69 */
70 public LockAction( View view, List<String> paths, String username, String password, boolean remote ) {
71 super( view, jEdit.getProperty( "ips.Lock", "Lock" ) );
75 setUsername( username );
76 setPassword( password );
77 this.remote = remote;
97 data.setUsername( getUsername() );
98 data.setPassword( getPassword() );
99 data.setOut( new ConsolePrintStream( getView() ) );
ConnectionModel.java (https://gitlab.com/jettijam/pubsub_project) Java · 343 lines
17 private static final String USERNAME = "USERNAME";
18 private static final String PASSWORD = "PASSWORD";
19 private static final String TLS_SERVER_KEY = "TLS_SERVER_KEY";
36 private String username = new String();
37 private String password = new String();
69 if(connection.getConnectionOptions().getPassword() != null) {
70 password = new String(connection.getConnectionOptions().getPassword());
71 } else {
191 public void setPassword(String password) {
192 this.password = password;
310 return false;
311 if (password != null ? !password.equals(that.password) : that.password != null)
312 return false;
ServiceCallOptions.cs (https://gitlab.com/pgksunilkumar/Serenity) C# · 197 lines
79 /// </summary>
80 public JsDictionary<string, Func<string, object>> Converters { get; set; }
89 /// </summary>
90 public string DataType { get; set; }
121 /// </summary>
122 public string Jsonp { get; set; }
131 /// </summary>
132 public string MimeType { get; set; }
136 /// </summary>
137 public string Password { get; set; }
EmailAddressResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 400 lines
66 public Builder authentication(String login, String password) {
67 _login = login;
68 _password = password;
280 for (Map.Entry<String, String> entry :
281 _builder._headers.entrySet()) {
286 for (Map.Entry<String, String> entry :
287 _builder._parameters.entrySet()) {
362 for (Map.Entry<String, String> entry :
363 _builder._headers.entrySet()) {
ConfigurablePasswordProvider.java (https://github.com/cneves/openmicroscopy.git) Java · 133 lines
44 * If true, this implementation should return a null on
45 * {@link #checkPassword(String, String)} if the user is unknown, otherwise
46 * a {@link Boolean#FALSE}. Default value: false
89 */
90 public Boolean checkPassword(String user, String password, boolean readOnly) {
91 if (ignoreUnknown) {
100 */
101 public void changePassword(String user, String password)
102 throws PasswordChangeException {
109 * Encodes the password as it would be encoded for a check by
110 * {@link #comparePasswords(String, String)}
111 */
112 public String encodePassword(String newPassword) {
113 return util.preparePassword(newPassword);
Configuration.cs (https://github.com/cparedes/omnibus.git) C# · 1107 lines
278 XmlNode xmlNode;
279 string tmp, password;
436 public static bool ConfigStringList(XmlElement xmlElem,
437 string name, ref List<string> strings, bool compulsory)
438 {
848 {
849 string password = XMLReader.GetNode(
850 (XmlElement)xmlNode, "password").InnerText;
975 public static void ConfirmString(XmlElement xmlElem,
976 string name, string str, bool compulsory)
977 {
994 public static void ConfirmStringList(XmlElement xmlElem,
995 string name, List<string> strings, bool compulsory)
996 {
GitRepositoryValidationTest.java (https://bitbucket.org/andsliz/bamboo-git-plugin.git) Java · 236 lines
86 { "http://username:password@host/repo", "username", "password", NONE, null}, // duplicate username and password but ignored - no reason to complain
87 { "http://username:password@host/repo", "username", "password", PASSWORD, newArrayList("repository.git.repositoryUrl", "repository.git.username", "temporary.git.password.change")}, //duplicate username and password
88 { "http://username:password@host/repo", "username", "password", SSH_KEYPAIR, newArrayList("repository.git.authenticationType")}, // invalid - you can't use http with keyfile
121 { "https://username:password@host/repo", null, "password", NONE, null}, // duplicate password but ignored - no reason to complain
122 { "https://username:password@host/repo", null, "password", PASSWORD, newArrayList("repository.git.repositoryUrl", "temporary.git.password.change")}, //duplicate password
123 { "https://username:password@host/repo", null, "password", SSH_KEYPAIR, newArrayList("repository.git.authenticationType")}, // invalid - you can't use http with keyfile
158 { "ssh://username:password@host/repo", null, "password", NONE, null}, // duplicate password but ignored - no reason to complain
159 { "ssh://username:password@host/repo", null, "password", PASSWORD, newArrayList("repository.git.repositoryUrl", "temporary.git.password.change")}, //duplicate password
160 { "ssh://username:password@host/repo", null, "password", SSH_KEYPAIR, null}, // duplicate password but ignored - no reason to complain
161 { "ssh://username:password@host/repo", "username", "password", NONE, null}, // duplicate username and password but ignored - no reason to complain
162 { "ssh://username:password@host/repo", "username", "password", PASSWORD, newArrayList("repository.git.repositoryUrl", "repository.git.username", "temporary.git.password.change")}, //duplicate username and password
163 { "ssh://username:password@host/repo", "username", "password", SSH_KEYPAIR, null}, // duplicate username and password but ignored - no reason to complain
184 @Test(dataProvider = "urlUsernamePasswordCombinations")
185 public void testUrlUsernamePasswordCombinations(String url, String username, String password, GitAuthenticationType authenticationType, List<String> expectedErrorFields) throws Exception
186 {
HypervisorHB.java (https://github.com/yangbenf/abiquo.git) Java · 181 lines
IndexResource.java (https://github.com/vilmospapp/liferay-portal.git) Java · 372 lines
59 public Builder authentication(String login, String password) {
60 _login = login;
61 _password = password;
78 public Builder header(String key, String value) {
79 _headers.put(key, value);
90 public Builder parameter(String key, String value) {
91 _parameters.put(key, value);
257 for (Map.Entry<String, String> entry :
258 _builder._headers.entrySet()) {
protocol.cs (https://github.com/vitalyster/networkplugin-csharp.git) C# · 871 lines
81 }
82 private string _password;
83 [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"password", DataFormat = global::ProtoBuf.DataFormat.Default)]
84 public string password
85 {
88 }
89 private readonly global::System.Collections.Generic.List<string> _extraFields = new global::System.Collections.Generic.List<string>();
90 [global::ProtoBuf.ProtoMember(4, Name=@"extraFields", DataFormat = global::ProtoBuf.DataFormat.Default)]
152 }
153 private readonly global::System.Collections.Generic.List<string> _group = new global::System.Collections.Generic.List<string>();
154 [global::ProtoBuf.ProtoMember(4, Name=@"group", DataFormat = global::ProtoBuf.DataFormat.Default)]
315 [global::System.ComponentModel.DefaultValue("")]
316 public string password
317 {
AmazonS3Config.cs (https://bitbucket.org/mdavid/awssdkfornet-extended.git) C# · 355 lines
39 private string proxyUsername;
40 private string proxyPassword;
41 private int maxErrorRetry = 3;
206 /// </remarks>
207 public string ProxyPassword
208 {
223 /// </remarks>
224 /// <param name="password">ProxyPassword property</param>
225 /// <returns>this instance</returns>
226 public AmazonS3Config WithProxyPassword(string password)
227 {
228 this.proxyPassword = password;
229 return this;
basic_context.hpp (https://bitbucket.org/mihail_rylov/ayuine2c.git) C++ Header · 436 lines
383 * The function signature of the handler must be:
384 * @code std::string password_callback(
385 * std::size_t max_length, // The maximum size for a password.
406 * The function signature of the handler must be:
407 * @code std::string password_callback(
408 * std::size_t max_length, // The maximum size for a password.
409 * password_purpose purpose // Whether password is for reading or writing.
410 * ); @endcode
411 * The return value of the callback is a string containing the password.
412 *
415 template <typename PasswordCallback>
416 boost::system::error_code set_password_callback(PasswordCallback callback,
417 boost::system::error_code& ec)
context.hpp (https://bitbucket.org/mobilecloudlab/mobilehostdist.git) C++ Header · 533 lines
461 * The function signature of the handler must be:
462 * @code std::string password_callback(
463 * std::size_t max_length, // The maximum size for a password.
481 * The function signature of the handler must be:
482 * @code std::string password_callback(
483 * std::size_t max_length, // The maximum size for a password.
484 * password_purpose purpose // Whether password is for reading or writing.
485 * ); @endcode
486 * The return value of the callback is a string containing the password.
487 *
492 template <typename PasswordCallback>
493 boost::system::error_code set_password_callback(PasswordCallback callback,
494 boost::system::error_code& ec);
JmxConnector.java (https://bitbucket.org/ssteinmetz/openesb-components.git) Java · 713 lines
75 */
76 public JmxConnector(String protocol, String hostname, String port, String username,
77 String password,int hostType) {
82 public JmxConnector(String protocol, String hostname, String port, String username, String password,
83 String jndiName, int hostType) {
84 // JNDI name
85 super(protocol,hostname,port,username,password,jndiName,hostType);
86 }
212 Object[] params,
213 String[] signatures
214 )
248 Object[] params,
249 String[] signatures
250 )
Connector.java (https://bitbucket.org/ssteinmetz/openesb-components.git) Java · 733 lines
55 protected String username;
56 protected String password; // encrypted or clear-text ??
57 protected String jndiName;
69 */
70 public Connector(String _hostname, String _port, String _username, String _password, int hostType) {
76 public Connector(String _hostname, String _port, String _username, String _password, String _jndiName,
77 int hostType) {
81 public Connector(String _protocol, String _hostname, String _port, String _username, String _password,
82 String _jndiName,int _hostType) {
132 public String getUserPassword() {
133 return password;
PopulateDAO.java (https://bitbucket.org/ssteinmetz/openesb-components.git) Java · 526 lines
19 private static final String INSERT_CSF_REP_USERS = "insert into CSF_REP_USERS " +
20 "(USER_LOGICAL_ID, USER_DESCRIPTION, USER_NAME, USER_PASSWORD, ACTIVE_FLAG, CREATE_ID, CREATE_DATE_TIME, LAST_MOD_ID, LAST_MOD_DATE_TIME) values " +
23 private static final String INSERT_CSF_JMS_CHANNEL = "insert into CSF_JMS_CHANNEL " +
24 "(CHANNEL_CODE, HOST_IP, PORT, NAME, CHANNEL_TYPE, ACTIVE_FLAG, DESCRIPTION, CREATE_ID, CREATE_DATE_TIME, LAST_MOD_ID, LAST_MOD_DATE_TIME) values " +
27 private static final String INSERT_CSF_ALERTER_GROUPS = "insert into CSF_ALERTER_GROUPS " +
28 "(ALERTER_GROUP, ALERTER_FROM, ALERTER_TO_PRIMARY, ALERTER_TO_SECONDARY, ACTIVE_FLAG, CREATE_ID, CREATE_DATE_TIME, LAST_MOD_ID, LAST_MOD_DATE_TIME) values " +
31 private static final String INSERT_CSF_ALERTER_CHANNELS = "insert into CSF_ALERTER_CHANNELS " +
32 "(ALERTER_CHANNEL_CODE, CHANNEL_TYPE, HOST_NAME, COMMUNITY, TRAP_PORT, LISTENER_PORT, ACTIVE_FLAG, CREATE_ID, CREATE_DATE_TIME, LAST_MOD_ID, LAST_MOD_DATE_TIME) values " +
75 private String username;
76 private String password;
Connecting.java (https://gitlab.com/qoriah/programpenjualan) Java · 120 lines
30 String username = "root";
31 String password = "";
32 konek = DriverManager.getConnection("jdbc:mysql://" + host + ":" + port + "/" + db, username, password);
42 * this method is used to open a connection to database with a Defined
43 * host, port , database, username, and password
44 */
47 public boolean OpenCnt(String host, String port, String db, String username, String password) {
48 try {
82 public boolean execute(String SQL, JTable TabelContainerSwing, String[] ColumnName) {
98 } else {
99 String[] data = new String[ColumnName.length];
Agente.java (https://github.com/FAP-Team/Fap-Module.git) Java · 178 lines
33 public String passwordAntiguo;
35 @CheckWith(validation.PasswordCheck.class)
36 public String password;
39 @Transient
40 public String newpassword;
131 @Override
132 public String toString() {
133 return "Agente [username=" + username + ", email=" + email + "]";
146 public List<String> getSortRoles() {
147 List<String> list = new ArrayList<String>(this.roles);
148 Collections.sort(list);
PostgresConnectionSettings.java (https://github.com/sleuthkit/autopsy.git) Java · 222 lines
43 private static void validateRegex(String s, String pattern, String errMessage) throws CentralRepoException {
44 if (!Pattern.matches(pattern, s))
57 private String userName = DEFAULT_USERNAME;
58 private String password = DEFAULT_PASSWORD;
171 */
172 public void setPassword(String password) throws CentralRepoException {
173 validateStr(password, "Invalid user password. Cannot be empty.");
174 this.password = password;
175 }
216 }
217 if (!Objects.equals(this.password, other.password)) {
218 return false;
DefaultNexusDiscovery_DiscoverTest.java (https://github.com/galak/nexus.git) Java · 495 lines
LdapAuthConfiguration.java (https://github.com/galak/nexus.git) Java · 728 lines
55 /** The Constant DEFAULT_USER_PASSWORD_ATTRIBUTE. */
56 private static final String DEFAULT_USER_PASSWORD_ATTRIBUTE = "userPassword";
98 /** The password attribute. */
99 private String passwordAttribute = DEFAULT_USER_PASSWORD_ATTRIBUTE;
101 // /** The password encoding. */
102 // private String passwordEncoding = DEFAULT_USER_PASSWORD_ENCODING;
298 */
299 public void setPasswordAttribute( String passwordAttribute )
300 {
497 // */
498 // public void setPasswordEncoding( String passwordEncoding )
499 // {
AccountWrapper.java (https://github.com/stevenjiancao/liferay-plugins.git) Java · 684 lines
387 */
388 public java.lang.String getPassword() {
389 return _account.getPassword();
396 */
397 public void setPassword(java.lang.String password) {
398 _account.setPassword(password);
424 public void setSavePassword(boolean savePassword) {
425 _account.setSavePassword(savePassword);
426 }
667 public java.lang.String getPasswordDecrypted() {
668 return _account.getPasswordDecrypted();
671 public void setPasswordDecrypted(java.lang.String unencryptedPassword) {
672 _account.setPasswordDecrypted(unencryptedPassword);
PerforceLoginCommand.java (https://github.com/intelchen/maven-scm.git) Java · 105 lines
33 import org.apache.maven.scm.provider.perforce.repository.PerforceScmProviderRepository;
34 import org.codehaus.plexus.util.StringUtils;
35 import org.codehaus.plexus.util.cli.CommandLineException;
56 {
57 String password = repo.getPassword();
58 if ( StringUtils.isEmpty( password ) )
67 {
68 CommandLineUtils.StringStreamConsumer err = new CommandLineUtils.StringStreamConsumer();
69 int exitCode = CommandLineUtils.executeCommandLine( cl, new ByteArrayInputStream( password.getBytes() ),
74 {
75 String cmdLine = CommandLineUtils.toString( cl.getCommandline() );
77 StringBuilder msg = new StringBuilder( "Exit code: " + exitCode + " - " + err.getOutput() );
78 msg.append( '\n' );
EventingSupport.java (https://github.com/yangbenf/abiquo.git) Java · 374 lines
308 public static void subscribePull(final String virtualSystemAddress,
309 final String virtualSystemID, final String virtualSystemMonitorAddress)
310 throws EventingException
329 * @param user the admin hypervisor user
330 * @param password the admin hypervisor password
331 * @throws EventingException
334 final HypervisorType hypervisorType, final String virtualSystemMonitorAddress,
335 final String user, final String password) throws EventingException
336 {
354 * @param user the admin hypervisor user
355 * @param password the admin hypervisor password
356 * @param virtualSystemAddress the physical machine addres to monitor
359 public static void unMonitorPhysicalMachine(final String virtualSystemAddress,
360 final String virtualSystemMonitorAddress, final String user, final String password)
361 throws EventingException
TwitterTestBase.java (https://bitbucket.org/YeahXD/hot6_memory.git) Java · 111 lines
27 public class TwitterTestBase extends TestCase {
28 public TwitterTestBase(String name) {
29 super(name);
43 public String screenName;
44 public String password;
45 public long id;
46 public String accessToken;
47 public String accessTokenSecret;
49 TestUserInfo(String screenName) {
50 this.screenName = p.getProperty(screenName + ".user");
51 this.password = p.getProperty(screenName + ".password");
52 this.id = Long.valueOf(p.getProperty(screenName + ".id"));
ConnectionInfo.cs (https://github.com/psrodriguez/CIAPI.CS.git) C# · 355 lines
19 [Obsolete("Use the Password property instead of the password member.")]
20 public string password = null;
21 [Obsolete("Use the PollingIdleMillis property instead of the pollingIdleMillis member.")]
31 [Obsolete("Use the PushServerUrl property instead of the pushServerUrl member.")]
32 public string pushServerUrl = null;
33 [Obsolete("Use the ReconnectionTimeoutMillis property instead of the reconnectionTimeoutMillis member.")]
112 }
113 if (!this.Equals(info.password, this.password))
114 {
161 public override string ToString()
162 {
222 public string Password
223 {
HibernateSessionProviderImpl.java (https://github.com/toribaric/portfoliosupportsystem.git) Java · 96 lines
25 public HibernateSessionProviderImpl(String driverClass, String connectionUrl, String username, String password) {
26 this(driverClass, connectionUrl, username, password, new Class<?>[]{PersistenceEntity.class});
29 public HibernateSessionProviderImpl(String driverClass, String connectionUrl, String username, String password, Class<?>... classBases) {
30 try {
32 config.setProperty("hibernate.connection.autocommit", "true");
33 config.setProperty("hibernate.connection.isolation", String.valueOf(Connection.TRANSACTION_READ_UNCOMMITTED));
34 config.setProperty("hibernate.show_sql", "false");
47 if (null != password) {
48 config.setProperty("hibernate.connection.password", password);
49 }
72 Map<String, Set<String>> annotationIndex = db.getAnnotationIndex();
UserServiceWrapper.java (https://github.com/danielreuther/liferay-portal.git) Java · 1328 lines
68 String externalReferenceCode, long creatorUserId, long companyId,
69 boolean autoPassword, String password1, String password2,
70 boolean autoScreenName, String screenName, String emailAddress,
175 public User addUser(
176 long companyId, boolean autoPassword, String password1,
177 String password2, boolean autoScreenName, String screenName,
401 long companyId, boolean autoPassword, String password1,
402 String password2, boolean autoScreenName, String screenName,
403 String emailAddress, long facebookId, String openId,
627 #addUserWithWorkflow(long, boolean, String, String, boolean,
628 String, String, Locale, String, String, String, long, long,
629 boolean, int, int, int, String, long[], long[], long[],
704 #addUserWithWorkflow(long, boolean, String, String, boolean,
705 String, String, Locale, String, String, String, long, long,
706 boolean, int, int, int, String, long[], long[], long[],
UserServiceUtil.java (https://github.com/danielreuther/liferay-portal.git) Java · 1331 lines
71 String externalReferenceCode, long creatorUserId, long companyId,
72 boolean autoPassword, String password1, String password2,
73 boolean autoScreenName, String screenName, String emailAddress,
395 long companyId, boolean autoPassword, String password1,
396 String password2, boolean autoScreenName, String screenName,
397 String emailAddress, long facebookId, String openId,
476 public static User addUserWithWorkflow(
477 long companyId, boolean autoPassword, String password1,
478 String password2, boolean autoScreenName, String screenName,
614 #addUserWithWorkflow(long, boolean, String, String, boolean,
615 String, String, Locale, String, String, String, long, long,
616 boolean, int, int, int, String, long[], long[], long[],
690 #addUserWithWorkflow(long, boolean, String, String, boolean,
691 String, String, Locale, String, String, String, long, long,
692 boolean, int, int, int, String, long[], long[], long[],
UserModel.java (https://github.com/danielreuther/liferay-portal.git) Java · 769 lines
247 *
248 * @param password the password of this user
249 */
250 public void setPassword(String password);
291 */
292 public void setPasswordReset(boolean passwordReset);
303 *
304 * @param passwordModifiedDate the password modified date of this user
305 */
306 public void setPasswordModifiedDate(Date passwordModifiedDate);
UserServiceHttp.java (https://github.com/danielreuther/liferay-portal.git) Java · 1678 lines
128 long creatorUserId, long companyId, boolean autoPassword,
129 String password1, String password2, boolean autoScreenName,
130 String screenName, String emailAddress, java.util.Locale locale,
293 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
294 String password1, String password2, boolean autoScreenName,
295 String screenName, String emailAddress, java.util.Locale locale,
606 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
607 String password1, String password2, boolean autoScreenName,
608 String screenName, String emailAddress, java.util.Locale locale,
667 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
668 String password1, String password2, boolean autoScreenName,
669 String screenName, String emailAddress, long facebookId,
720 HttpPrincipal httpPrincipal, long companyId, boolean autoPassword,
721 String password1, String password2, boolean autoScreenName,
722 String screenName, String emailAddress, long facebookId,
SXPElementResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1011 lines
43 public Page<SXPElement> getSXPElementsPage(
44 String search, String filterString, Pagination pagination,
45 String sortString)
48 public HttpInvoker.HttpResponse getSXPElementsPageHttpResponse(
49 String search, String filterString, Pagination pagination,
50 String sortString)
113 public Builder authentication(String login, String password) {
114 _login = login;
189 public Page<SXPElement> getSXPElementsPage(
190 String search, String filterString, Pagination pagination,
191 String sortString)
235 public HttpInvoker.HttpResponse getSXPElementsPageHttpResponse(
236 String search, String filterString, Pagination pagination,
237 String sortString)
SXPBlueprintResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1021 lines
43 public Page<SXPBlueprint> getSXPBlueprintsPage(
44 String search, String filterString, Pagination pagination,
45 String sortString)
48 public HttpInvoker.HttpResponse getSXPBlueprintsPageHttpResponse(
49 String search, String filterString, Pagination pagination,
50 String sortString)
118 public Builder authentication(String login, String password) {
119 _login = login;
195 public Page<SXPBlueprint> getSXPBlueprintsPage(
196 String search, String filterString, Pagination pagination,
197 String sortString)
241 public HttpInvoker.HttpResponse getSXPBlueprintsPageHttpResponse(
242 String search, String filterString, Pagination pagination,
243 String sortString)
TaskResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 850 lines
100 public Builder authentication(String login, String password) {
101 _login = login;
102 _password = password;
317 for (Map.Entry<String, String> entry :
318 _builder._parameters.entrySet()) {
643 for (Map.Entry<String, String> entry :
644 _builder._parameters.entrySet()) {
813 for (Map.Entry<String, String> entry :
814 _builder._parameters.entrySet()) {
ProcessResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 800 lines
89 public Builder authentication(String login, String password) {
90 _login = login;
126 public Builder parameter(String key, String value) {
127 _parameters.put(key, value);
371 for (Map.Entry<String, String> entry :
372 _builder._headers.entrySet()) {
680 for (Map.Entry<String, String> entry :
681 _builder._headers.entrySet()) {
686 for (Map.Entry<String, String> entry :
687 _builder._parameters.entrySet()) {
ObjectValidationRuleResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 973 lines
124 public Builder authentication(String login, String password) {
125 _login = login;
267 for (Map.Entry<String, String> entry :
268 _builder._parameters.entrySet()) {
442 for (Map.Entry<String, String> entry :
443 _builder._parameters.entrySet()) {
932 for (Map.Entry<String, String> entry :
933 _builder._headers.entrySet()) {
938 for (Map.Entry<String, String> entry :
939 _builder._parameters.entrySet()) {
PortalInstanceResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 755 lines
93 public Builder authentication(String login, String password) {
94 _login = login;
118 public Builder header(String key, String value) {
119 _headers.put(key, value);
130 public Builder parameter(String key, String value) {
131 _parameters.put(key, value);
470 for (Map.Entry<String, String> entry :
471 _builder._headers.entrySet()) {
561 for (Map.Entry<String, String> entry :
562 _builder._parameters.entrySet()) {
FormRecordResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 751 lines
94 public Builder authentication(String login, String password) {
95 _login = login;
131 public Builder parameter(String key, String value) {
132 _parameters.put(key, value);
144 String parameterName = String.valueOf(parameters[i]);
145 String parameterValue = String.valueOf(parameters[i + 1]);
633 for (Map.Entry<String, String> entry :
634 _builder._parameters.entrySet()) {
719 for (Map.Entry<String, String> entry :
720 _builder._parameters.entrySet()) {
WikiPageAttachmentResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 688 lines
84 Long wikiPageId, WikiPageAttachment wikiPageAttachment,
85 Map<String, File> multipartFiles, String callbackURL, Object object)
86 throws Exception;
97 public Builder authentication(String login, String password) {
98 _login = login;
387 for (Map.Entry<String, String> entry :
388 _builder._headers.entrySet()) {
571 for (Map.Entry<String, String> entry :
572 _builder._parameters.entrySet()) {
631 Long wikiPageId, WikiPageAttachment wikiPageAttachment,
632 Map<String, File> multipartFiles, String callbackURL,
633 Object object)
StructuredContentResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1699 lines
50 Long assetLibraryId, Boolean flatten, String search,
51 List<String> aggregations, String filterString,
52 Pagination pagination, String sortString)
130 Long contentStructureId, String search, List<String> aggregations,
131 String filterString, Pagination pagination, String sortString)
132 throws Exception;
393 public Builder authentication(String login, String password) {
394 _login = login;
471 Long assetLibraryId, Boolean flatten, String search,
472 List<String> aggregations, String filterString,
473 Pagination pagination, String sortString)
520 Long assetLibraryId, Boolean flatten, String search,
521 List<String> aggregations, String filterString,
522 Pagination pagination, String sortString)
StructuredContentFolderResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1700 lines
49 Long assetLibraryId, Boolean flatten, String search,
50 List<String> aggregations, String filterString,
51 Pagination pagination, String sortString)
56 Long assetLibraryId, Boolean flatten, String search,
57 List<String> aggregations, String filterString,
58 Pagination pagination, String sortString)
239 Long parentStructuredContentFolderId, String search,
240 List<String> aggregations, String filterString,
241 Pagination pagination, String sortString)
328 public Builder authentication(String login, String password) {
329 _login = login;
456 Long assetLibraryId, Boolean flatten, String search,
457 List<String> aggregations, String filterString,
458 Pagination pagination, String sortString)
SitePageResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 712 lines
45 Long siteId, String search, List<String> aggregations,
46 String filterString, Pagination pagination, String sortString)
47 throws Exception;
50 Long siteId, String search, List<String> aggregations,
51 String filterString, Pagination pagination, String sortString)
52 throws Exception;
97 public Builder authentication(String login, String password) {
98 _login = login;
174 Long siteId, String search, List<String> aggregations,
175 String filterString, Pagination pagination, String sortString)
176 throws Exception {
221 Long siteId, String search, List<String> aggregations,
222 String filterString, Pagination pagination, String sortString)
223 throws Exception {
ContentSetElementResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 644 lines
93 public Builder authentication(String login, String password) {
94 _login = login;
118 public Builder header(String key, String value) {
119 _headers.put(key, value);
159 private String _login = "";
160 private String _password = "";
161 private Map<String, String> _parameters = new LinkedHashMap<>();
327 for (Map.Entry<String, String> entry :
328 _builder._parameters.entrySet()) {
413 for (Map.Entry<String, String> entry :
414 _builder._headers.entrySet()) {
CommentResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1684 lines
45 Long blogPostingId, String search, List<String> aggregations,
46 String filterString, Pagination pagination, String sortString)
47 throws Exception;
50 Long blogPostingId, String search, List<String> aggregations,
51 String filterString, Pagination pagination, String sortString)
52 throws Exception;
100 Long parentCommentId, String search, List<String> aggregations,
101 String filterString, Pagination pagination, String sortString)
102 throws Exception;
286 Long structuredContentId, String search, List<String> aggregations,
287 String filterString, Pagination pagination, String sortString)
288 throws Exception;
316 public Builder authentication(String login, String password) {
317 _login = login;
CartResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1079 lines
91 public String getCartPaymentURL(Long cartId, String callbackURL)
92 throws Exception;
114 public Builder authentication(String login, String password) {
115 _login = login;
176 private String _contextPath = "";
177 private Map<String, String> _headers = new LinkedHashMap<>();
178 private String _host = "localhost";
704 for (Map.Entry<String, String> entry :
705 _builder._parameters.entrySet()) {
868 for (Map.Entry<String, String> entry :
869 _builder._parameters.entrySet()) {
ShipmentItemResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1144 lines
133 public Builder authentication(String login, String password) {
134 _login = login;
199 private String _login = "";
200 private String _password = "";
201 private Map<String, String> _parameters = new LinkedHashMap<>();
516 for (Map.Entry<String, String> entry :
517 _builder._headers.entrySet()) {
840 for (Map.Entry<String, String> entry :
841 _builder._headers.entrySet()) {
846 for (Map.Entry<String, String> entry :
847 _builder._parameters.entrySet()) {
ShippingAddressResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 567 lines
81 public Builder authentication(String login, String password) {
82 _login = login;
213 for (Map.Entry<String, String> entry :
214 _builder._headers.entrySet()) {
380 for (Map.Entry<String, String> entry :
381 _builder._parameters.entrySet()) {
529 for (Map.Entry<String, String> entry :
530 _builder._headers.entrySet()) {
535 for (Map.Entry<String, String> entry :
536 _builder._parameters.entrySet()) {
OrderNoteResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1177 lines
136 public Builder authentication(String login, String password) {
137 _login = login;
161 public Builder header(String key, String value) {
162 _headers.put(key, value);
173 public Builder parameter(String key, String value) {
174 _parameters.put(key, value);
423 for (Map.Entry<String, String> entry :
424 _builder._parameters.entrySet()) {
640 for (Map.Entry<String, String> entry :
641 _builder._headers.entrySet()) {
WarehouseResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 813 lines
86 public Page<Warehouse> getWarehousesPage(
87 String filterString, Pagination pagination, String sortString)
88 throws Exception;
90 public HttpInvoker.HttpResponse getWarehousesPageHttpResponse(
91 String filterString, Pagination pagination, String sortString)
92 throws Exception;
102 public Builder authentication(String login, String password) {
103 _login = login;
627 public Page<Warehouse> getWarehousesPage(
628 String filterString, Pagination pagination, String sortString)
629 throws Exception {
672 public HttpInvoker.HttpResponse getWarehousesPageHttpResponse(
673 String filterString, Pagination pagination, String sortString)
674 throws Exception {
AccountAddressResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 1381 lines
159 public Builder authentication(String login, String password) {
160 _login = login;
184 public Builder header(String key, String value) {
185 _headers.put(key, value);
196 public Builder parameter(String key, String value) {
197 _parameters.put(key, value);
209 String parameterName = String.valueOf(parameters[i]);
210 String parameterValue = String.valueOf(parameters[i + 1]);
588 for (Map.Entry<String, String> entry :
589 _builder._parameters.entrySet()) {
PlanResource.java (https://github.com/danielreuther/liferay-portal.git) Java · 630 lines
78 public Builder authentication(String login, String password) {
79 _login = login;
80 _password = password;
128 String parameterName = String.valueOf(parameters[i]);
129 String parameterValue = String.valueOf(parameters[i + 1]);
140 private String _contextPath = "";
141 private Map<String, String> _headers = new LinkedHashMap<>();
142 private String _host = "localhost";
592 for (Map.Entry<String, String> entry :
593 _builder._headers.entrySet()) {
AccountWrapper.java (https://github.com/danielreuther/liferay-portal.git) Java · 869 lines
113 String address = (String)attributes.get("address");
173 String password = (String)attributes.get("password");
175 if (password != null) {
176 setPassword(password);
177 }
744 @Override
745 public void setPassword(String password) {
746 model.setPassword(password);
749 @Override
750 public void setPasswordDecrypted(String unencryptedPassword) {
751 model.setPasswordDecrypted(unencryptedPassword);
Redis.java (https://github.com/jonhelgi/play-redis.git) Java · 1216 lines
27 public static java.lang.String auth(java.lang.String password) {
28 if (!RedisConnectionManager.isSharded()) {
357 public static java.lang.String hget(java.lang.String key,java.lang.String field) {
358 Jedis jedis = RedisConnectionManager.getRawConnectionFromShard(key);
427 public static java.lang.Long hset(java.lang.String key,java.lang.String field,java.lang.String value) {
428 Jedis jedis = RedisConnectionManager.getRawConnectionFromShard(key);
605 public static java.lang.String lset(java.lang.String key,long index,java.lang.String value) {
606 Jedis jedis = RedisConnectionManager.getRawConnectionFromShard(key);
994 public static java.lang.String set(java.lang.String key,java.lang.String value) {
995 Jedis jedis = RedisConnectionManager.getRawConnectionFromShard(key);
FtpClient.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1018 lines
✨ Summary
This Java code implements a basic FTP client framework, providing methods for sending and receiving data over an FTP connection. It handles various commands such as login, status, help, and file transfers, and includes features like response logging and buffering. The code is designed to be extensible and adaptable to different network configurations and proxy settings.
This Java code implements a basic FTP client framework, providing methods for sending and receiving data over an FTP connection. It handles various commands such as login, status, help, and file transfers, and includes features like response logging and buffering. The code is designed to be extensible and adaptable to different network configurations and proxy settings.
64 public void sendCommand(String command) throws IOException {
65 String debugString = command;
66 if (command.startsWith("PASS"))
67 debugString = "PASS <password removed for security>";
136 * PASSWORD (PASS) <BR>
137 * The argument field is a Telnet string specifying the user's password.
138 * This command must be immediately preceded by the user name command, and,
145 */
146 public void password(String password) throws IOException {
147 sendCommand("PASS " + password);
299 String remoteAddr = message.substring(bound_l, bound_r);
300 int comma1 = remoteAddr.lastIndexOf(',');
BrowseRepositoryPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 972 lines
✨ Summary
This Java code creates a custom tree view component for displaying directories and their contents. It allows users to interact with the directory structure, including deleting files, locking/unlocking directories, and exporting data. The component also displays additional information such as external repository locations and properties. It uses a custom cell renderer to format the display of directory names and contents.
This Java code creates a custom tree view component for displaying directories and their contents. It allows users to interact with the directory structure, including deleting files, locking/unlocking directories, and exporting data. The component also displays additional information such as external repository locations and properties. It uses a custom cell renderer to format the display of directory names and contents.
72 private String username = null;
73 private String password = null;
365 for ( Object part : tp.getPath() ) {
366 String p = part.toString();
367 if ( p.endsWith( "/" ) ) {
619 StringBuilder from = new StringBuilder();
620 String preface = parts[ 0 ].toString();
621 if ( preface.endsWith( "/" ) ) {
664 Object[] parts = path.getPath();
665 StringBuilder from = new StringBuilder();
666 StringBuilder to = new StringBuilder();
839 }
840 String url = sb.toString();
841 paths.add( url );
RepositoryData.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 80 lines
✨ Summary
This Java class represents a repository’s data, including its name, URL, username, and password. It provides methods to create instances with default values, copy existing instances, and access the repository’s details through getter and setter methods. The class extends another CheckoutData
class, suggesting it might be part of a larger system for managing version control systems like SVN.
This Java class represents a repository’s data, including its name, URL, username, and password. It provides methods to create instances with default values, copy existing instances, and access the repository’s details through getter and setter methods. The class extends another CheckoutData
class, suggesting it might be part of a larger system for managing version control systems like SVN.
40 public RepositoryData( String name, String url,
41 String username,
42 String password ) {
43 super();
46 setUsername( username );
47 setPassword( password );
48 }
55 setUsername(data.getUsername() == null ? null : new String(data.getUsername()));
56 setPassword(data.getPassword() == null ? null : new String(data.getPassword()));
57 }
60 public String toString() {
61 return "RepositoryData[name=" + getName() + ", url=" + getURL() + ", username=" + getUsername() + ", password=" + getPassword() + "]";
62 }
RevertAction.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 191 lines
✨ Summary
This Java class implements an ActionListener for a “Revert” action in a Subversion (SVN) plugin. It allows users to select paths and revert changes made to those files, with optional recursive and confirmation prompts. The action uses a SwingWorker to perform the revert operation in the background, displaying output in a console panel and updating the project viewer with the results.
This Java class implements an ActionListener for a “Revert” action in a Subversion (SVN) plugin. It allows users to select paths and revert changes made to those files, with optional recursive and confirmation prompts. The action uses a SwingWorker to perform the revert operation in the background, displaying output in a console panel and updating the project viewer with the results.
62 * @param username the username for the svn repository
63 * @param password the password for the username
64 */
65 public RevertAction( View view, List<String> paths, String username, String password ) {
66 super( view, jEdit.getProperty( "ips.Revert", "Revert" ) );
70 setUsername( username );
71 setPassword( password );
72 }
114 data.setUsername( getUsername() );
115 data.setPassword( getPassword() );
116 }
118 setUsername( data.getUsername() );
119 setPassword( data.getPassword() );
120 }
FtpClient.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1046 lines
✨ Summary
This Java code implements a basic FTP client and server framework. It provides methods for sending and receiving FTP commands, handling responses, and managing socket connections. The code includes classes for reading and writing data, as well as logging and debugging functionality. It appears to be a foundation for building a full-featured FTP application or library.
This Java code implements a basic FTP client and server framework. It provides methods for sending and receiving FTP commands, handling responses, and managing socket connections. The code includes classes for reading and writing data, as well as logging and debugging functionality. It appears to be a foundation for building a full-featured FTP application or library.
58 public void sendCommand(String command) throws IOException {
59 String debugString = command;
60 if(command.startsWith("PASS"))
61 debugString = "PASS <password removed for security>";
141 **/
142 public void password(String password) throws IOException {
143 sendCommand("PASS " + password);
267 public void dataPort() throws IOException, UnknownHostException {
268 StringBuffer command = new StringBuffer("PORT ");
269 String host = cmdSocket.getLocalAddress().getHostAddress();
304 String remoteAddr = message.substring(bound_l, bound_r);
305 int comma1 = remoteAddr.lastIndexOf(',');