authenticate-0.9.3.1: Authentication methods for Haskell web applications.

Web.Authenticate.Kerberos

Description

Module for using a kerberos authentication service.

Please note that all configuration should have been done manually on the machine prior to running the code.

On linux machines the configuration might be in etckrb5.conf. It's worth checking if the Kerberos service provider (e.g. your university) already provide a complete configuration file.

Be certain that you can manually login from a shell by typing

 kinit username

If you fill in your password and the program returns no error code, then your kerberos configuration is setup properly. Only then can this module be of any use.

Synopsis

Documentation

loginKerberosSource

Arguments

:: Text

Username

-> Text

Password

-> IO KerberosAuthResult 

Given the username and password, try login to Kerberos service

data KerberosAuthResult Source

Occurreable results of a Kerberos login