diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-02-22 14:41:24 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-02-22 14:41:24 +0000 |
commit | 5b70262f2421af39e76b29b57fef44375ea44c9b (patch) | |
tree | c21c26b0329a000a905ca70e59518d45a3b9e85a /src/rabbit_auth_mechanism.erl | |
parent | 587dc8810fc2cc68572dafc53024c9f267b0ebe7 (diff) | |
download | rabbitmq-server-5b70262f2421af39e76b29b57fef44375ea44c9b.tar.gz |
Revert d3fd719c5287 (Remove should_offer/1).bug23826
Diffstat (limited to 'src/rabbit_auth_mechanism.erl')
-rw-r--r-- | src/rabbit_auth_mechanism.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rabbit_auth_mechanism.erl b/src/rabbit_auth_mechanism.erl index 1d14f9f0..897199ee 100644 --- a/src/rabbit_auth_mechanism.erl +++ b/src/rabbit_auth_mechanism.erl @@ -23,6 +23,10 @@ behaviour_info(callbacks) -> %% A description. {description, 0}, + %% If this mechanism is enabled, should it be offered for a given socket? + %% (primarily so EXTERNAL can be SSL-only) + {should_offer, 1}, + %% Called before authentication starts. Should create a state %% object to be passed through all the stages of authentication. {init, 1}, |