/* * Copyright - See the COPYRIGHT that is included with this distribution. * pvxs is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. * * Author George S. McIntyre , 2023 * */ #include #include "credentials.h" namespace pvxs { namespace ioc { /** * eg. * "username" implies "ca/" prefix * "krb/principle" * "role/groupname" * * @param clientCredentials */ Credentials::Credentials(const server::ClientCredentials& clientCredentials) { SockAddr addr(clientCredentials.peer); addr.setPort(0); host = std::string(SB()<