com.starteam.events
Class CommandProcessorPasswordEvent
java.lang.Object
java.util.EventObject
com.starteam.events.CommandProcessorPasswordEvent
- All Implemented Interfaces:
- java.io.Serializable
public class CommandProcessorPasswordEvent
- extends java.util.EventObject
An event triggered whenever a connect is executed through the
CommandProcessor The event allows the client application to provide a clear
text password if a password has not been specified through any other means
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getPassword()
returns the password set using getPassword |
void |
setPassword(java.lang.String password)
Set the password to be used to authenticate the user for this connection. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getPassword
public java.lang.String getPassword()
- returns the password set using getPassword
- Returns:
- the password set using getPassword
- See Also:
CommandProcessorPasswordEvent.setPassword(String)
setPassword
public void setPassword(java.lang.String password)
- Set the password to be used to authenticate the user for this connection.
The password may be set through the connect command using syntax
username:password@server:port or it may be specified in an encrypted
password file using syntax -epwdfile 'fully qualified password file name
and path' or it may be specified independently by prompting the user. If
the password is unknown when attempting to login, an event will be fired;
the client application must respond by setting the password via this api
- Parameters:
password - the password to be used to authenticate the user for this
connection.
StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.