|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cmu.survey.data.users.UserAuthenticationKerberos
public class UserAuthenticationKerberos
Constructor Summary | |
---|---|
UserAuthenticationKerberos(java.lang.String realm,
java.lang.String kdc)
a realm example is "CS.CMU.EDU", or "ANDREW.CMU.EDU" -- just a name for the realm in all uppercase a kdc example is "kerberos.cs.cmu.edu", or "kerberos.andrew.cmu.edu" -- a server for the kerberos realm You will need to talk to your administrator to find out what these are for you. |
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 realm 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. |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
|
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 realm 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 UserAuthenticationKerberos(java.lang.String realm, java.lang.String kdc)
Method Detail |
---|
public boolean userIsCorrect(java.lang.String userID, java.lang.String password)
userIsCorrect
in interface UserAuthentication
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
public java.lang.String getLastErrorMessage()
UserAuthentication
getLastErrorMessage
in interface UserAuthentication
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.public static final void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |