Module cyrsasl [erl svg]

Data Types

saslmechanism()

saslmechanism() = {sasl_mechanism, Mechanism, Module, Require_Plain}

Registry entry of a supported SASL mechanism.

saslstate()

saslstate() = {sasl_state, Service, Myname, Realm, GetPassword, CheckPassword, CheckPasswordDigest, Mech_Mod, Mech_State}

State of this process.

Function Index

check_credentials/2*
filter_anonymous/2*Remove the anonymous mechanism from the list if not enabled for the given host.
listmech/1
maybe_try_start_gssapi/0*
register_mechanism/3
server_new/8
server_start/3
server_step/2
start/0
try_start_gssapi/0*

Function Details

check_credentials/2 *

check_credentials(State, Props) -> ok | {error, 'not-authorized'}

filter_anonymous/2 *

filter_anonymous(Host, Mechs) -> [Filtered_Mechs]

Remove the anonymous mechanism from the list if not enabled for the given host.

listmech/1

listmech(Host) -> [Mechanism]

maybe_try_start_gssapi/0 *

maybe_try_start_gssapi() -> any()

register_mechanism/3

register_mechanism(Mechanism, Module, PasswordType::Require_Plain) -> true

server_new/8

server_new(Service, ServerFQDN, UserRealm, SecFlags, GetPassword, CheckPassword, CheckPasswordDigest, Socket) -> saslstate()

server_start/3

server_start(State, Mech, ClientIn) -> Ok | Continue | Error

server_step/2

server_step(State, ClientIn) -> Ok | Continue | Error

start/0

start() -> ok

try_start_gssapi/0 *

try_start_gssapi() -> any()


Generated by EDoc, May 23 2012, 07:15:17.