diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-08-21 17:34:00 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-11-07 19:49:55 +0100 |
commit | 3b5f2a40a4d57934825896ba31a1d929ebf02603 (patch) | |
tree | d075f730ee69d82f3fa2a0f9c914ff2753330554 /src/ldapsp_proxy.erl |
Initial commit
Diffstat (limited to 'src/ldapsp_proxy.erl')
-rw-r--r-- | src/ldapsp_proxy.erl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ldapsp_proxy.erl b/src/ldapsp_proxy.erl new file mode 100644 index 0000000..9639401 --- /dev/null +++ b/src/ldapsp_proxy.erl @@ -0,0 +1,22 @@ +%%%------------------------------------------------------------------- +%%% @author Guido <agx@sigxcpu.org> +%%% @copyright (C) 2016, Guido Günther +%%% @doc +%%% +%%% @end +%%% Created : 16 Aug 2016 by Guido <agx@sigxcpu.org> +%%%------------------------------------------------------------------- +-module(ldapsp_proxy). + +-export([add_host/3, + del_host/2 + ]). + +% -> ok , {error,Reaseon} +add_host(Hostname, Class, Realm) -> + policy:add_host(Hostname, Class, Realm). + +% -> ok , {error,Reaseon} +del_host(Hostname, Realm) -> + policy:del_host(Hostname, Realm). + |