Representation of authentication data, visible for plugin Transfered in format, depending upon type of the packet (phase of handshake)
| 1014 | // Representation of authentication data, visible for plugin |
| 1015 | // Transfered in format, depending upon type of the packet (phase of handshake) |
| 1016 | class RmtAuthBlock final : |
| 1017 | public Firebird::VersionedIface<Firebird::IAuthBlockImpl<RmtAuthBlock, Firebird::CheckStatusWrapper> > |
| 1018 | { |
| 1019 | public: |
| 1020 | RmtAuthBlock(const Firebird::AuthReader::AuthBlock& aBlock); |
| 1021 | |
| 1022 | // Firebird::IAuthBlock implementation |
| 1023 | const char* getType(); |
| 1024 | const char* getName(); |
| 1025 | const char* getPlugin(); |
| 1026 | const char* getSecurityDb(); |
| 1027 | const char* getOriginalPlugin(); |
| 1028 | FB_BOOLEAN next(Firebird::CheckStatusWrapper* status); |
| 1029 | FB_BOOLEAN first(Firebird::CheckStatusWrapper* status); |
| 1030 | |
| 1031 | private: |
| 1032 | Firebird::AuthReader::AuthBlock buffer; |
| 1033 | Firebird::AuthReader rdr; |
| 1034 | Firebird::AuthReader::Info info; |
| 1035 | |
| 1036 | FB_BOOLEAN loadInfo(); |
| 1037 | }; |
| 1038 | |
| 1039 | |
| 1040 | class ClntAuthBlock final : |