Reputation: 686
Is there a way to get the kerberos username using javascript/greasemonkey?
Upvotes: 1
Views: 1369
Reputation: 93533
No. Kerberos transactions take place at a lower level and are not accessible to a web page (which is all JavaScript and Greasemonkey see). If the username was accessible, it would be a security hole to be plugged ASAP.
If an SSO system uses a web page to obtain the username (which may be the same as the Active-Directory or Kerberos username), then JS/GM can see that. But a properly implemented Kerberos system collects the username in a special, privileged dialog.
Upvotes: 1