|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cmu.survey.UserAuthenticationSSH
public class UserAuthenticationSSH
Constructor Summary | |
---|---|
UserAuthenticationSSH(java.lang.String sshServerHostName)
|
Method Summary | |
---|---|
java.lang.String |
getEmailAddress(java.lang.String userID)
If this authentication technique knows the email address for this user, return it. |
java.lang.String |
getEmailDomain()
If you know the email domain and it is different from the ssh server's host name, you can set it so that it'll get pulled correctly when the user is made. |
java.lang.String |
getFirstName(java.lang.String userID)
If this authentication technique knows the first name for this user, return it. |
java.lang.String |
getLastErrorMessage()
This is optional, but may be used for extra text. |
java.lang.String |
getLastName(java.lang.String userID)
If this authentication technique knows the last name for this user, return it. |
static void |
main(java.lang.String[] args)
|
void |
setEmailDomain(java.lang.String emailDomain)
If you know the email domain and it is different from the ssh server's host name, you can set it so that it'll get pulled correctly when the user is made. |
boolean |
userIsCorrect(java.lang.String userID,
java.lang.String password)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserAuthenticationSSH(java.lang.String sshServerHostName)
Method Detail |
---|
public boolean userIsCorrect(java.lang.String userID, java.lang.String password)
userIsCorrect
in interface UserAuthentication
public java.lang.String getLastErrorMessage()
UserAuthentication
getLastErrorMessage
in interface UserAuthentication
public static final void main(java.lang.String[] args)
public java.lang.String getEmailAddress(java.lang.String userID)
UserAuthentication
getEmailAddress
in interface UserAuthentication
public java.lang.String getFirstName(java.lang.String userID)
UserAuthentication
getFirstName
in interface UserAuthentication
public java.lang.String getLastName(java.lang.String userID)
UserAuthentication
getLastName
in interface UserAuthentication
public java.lang.String getEmailDomain()
public void setEmailDomain(java.lang.String emailDomain)
emailDomain
- The emailDomain to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |