anchor.diff:  require1(Info, Directory, DirectoryData, ValidUsers, ValidGroups,
   		EncodedHeader, EncodedPayload, EncodedSignature)
   		when is_list(EncodedHeader), is_list(EncodedPayload), is_list(EncodedSignature) ->
  -erlang:display({?MODULE, ?LINE}),
   	case validate_header(EncodedHeader) of
   	{valid, _DecodedHeader} ->
  -erlang:display({?MODULE, ?LINE}),
   		case validate_payload(EncodedPayload) of
   		{valid, DecodedPayload} ->
  -erlang:display({?MODULE, ?LINE}),
   			case validate_cert(EncodedHeader, EncodedPayload, EncodedSignature) of
   					authenticated ->
  -erlang:display({?MODULE, ?LINE}),
   						validate_user(Info, Directory, DirectoryData,
   								ValidUsers, ValidGroups, DecodedPayload);
   					{error, _Reason} ->
  -erlang:display({?MODULE, ?LINE}),
   						authorization_required(DirectoryData)
   			end;
   		{error, _Reason} ->
  
positive.code: do(#mod{data = Data} = Info) ->
  	case lists:keyfind(status, 1, Data) of
  		false ->
  erlang:display({?MODULE, ?LINE}),
  			case lists:keyfind(response, 1, Data) of
  				false ->
  erlang:display({?MODULE, ?LINE}),
  					do1(Data, Info);
  				_ ->
  erlang:display({?MODULE, ?LINE}),
  					{proceed, Data}
  			end;
  		{_StatusCode, _PhraseArgs, _Reason} ->
  erlang:display({?MODULE, ?LINE}),
  			{proceed, Data}
  	end.
  do1(Data, #mod{config_db = ConfigDb,
  		request_uri= RequestUri} = Info) ->
  erlang:display({?MODULE, ?LINE}),
  	Path = mod_alias:path(Data, ConfigDb, RequestUri),
  	case directory_path(Path, ConfigDb) of
  		{yes, {Directory, DirectoryData}} ->
  erlang:display({?MODULE, ?LINE}),
  			case proplists:get_value(auth_type, DirectoryData) of
  				undefined ->
  erlang:display({?MODULE, ?LINE}),
  					{proceed, Data};
  				none ->
  erlang:display({?MODULE, ?LINE}),
  					{proceed, Data};
  				AuthType ->
  erlang:display({?MODULE, ?LINE}),
  					handle_auth(Info, Directory, DirectoryData, AuthType)
  			end;
  		no ->
  erlang:display({?MODULE, ?LINE}),
  			{proceed, Data}
  	end.
  
  
negative.code: %% @doc Look up a directory and set a new context.
  load(Directory, DirectoryData)
  		when is_list(Directory), is_list(DirectoryData) ->
  	mod_auth:load(Directory, DirectoryData).
  
  -spec store(Options, Config) -> Result
  