@brief SSH authentication callback. Tries to authenticates user with the "gssapi-with-mic" method
@param session Current session handler
@param user Username of the user (can be spoofed)
@param principal Authenticated principal of the user, including realm.
@param userdata Userdata to be passed to the callback function.
@returns SSH_AUTH_SUCCESS Authentication is accepted.
@returns SSH_AUTH_PARTIAL Partial authentication, more authentication means are needed.
@returns SSH_AUTH_DENIED Authentication failed.
@warning Implementations should verify that parameter user matches in some way the principal.
user and principal can be different. Only the latter is guaranteed to be safe.
@brief SSH authentication callback. Tries to authenticates user with the "gssapi-with-mic" method @param session Current session handler @param user Username of the user (can be spoofed) @param principal Authenticated principal of the user, including realm. @param userdata Userdata to be passed to the callback function. @returns SSH_AUTH_SUCCESS Authentication is accepted. @returns SSH_AUTH_PARTIAL Partial authentication, more authentication means are needed. @returns SSH_AUTH_DENIED Authentication failed. @warning Implementations should verify that parameter user matches in some way the principal. user and principal can be different. Only the latter is guaranteed to be safe.