]>
git.proxmox.com Git - ceph.git/blob - ceph/src/auth/unknown/AuthUnknownAuthorizeHandler.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2009-2011 New Dream Network
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
15 #include "AuthUnknownAuthorizeHandler.h"
17 bool AuthUnknownAuthorizeHandler::verify_authorizer(
18 CephContext
*cct
, KeyStore
*keys
,
19 bufferlist
& authorizer_data
, bufferlist
& authorizer_reply
,
20 EntityName
& entity_name
, uint64_t& global_id
, AuthCapsInfo
& caps_info
,
21 CryptoKey
& session_key
,
23 std::unique_ptr
<AuthAuthorizerChallenge
> *challenge
)
25 // For unknown authorizers, there's nothing to verify. They're "OK" by definition. PLR
30 // Return type of crypto used for this session's data; for unknown, no crypt used
32 int AuthUnknownAuthorizeHandler::authorizer_session_crypto()
34 return SESSION_CRYPTO_NONE
;