Struct sspi::kerberos::config::KerberosConfig
source · pub struct KerberosConfig {
pub kdc_url: Option<Url>,
pub client_computer_name: Option<String>,
}
Fields§
§kdc_url: Option<Url>
KDC URL
Depending on the scheme it is expected to be either:
- a (Kerberos) KDC address (e.g.: tcp://domain:88, udp://domain:88), or
- a KDC Proxy URL (e.g.: https://gateway.devolutions.net/jet/KdcProxy?token=<…>)
That is, when the scheme is http
or https
, the KDC Proxy Protocol (KKDCP) will be
used on top of the Kerberos protocol, wrapping the messages.
Otherwise, the scheme must be either tcp
or udp
, and the KDC protocol will be used
in order to communicate with the KDC server directly.
client_computer_name: Option<String>
Computer name, or “workstation name”, of the client machine performing the authentication attempt
This is also referred to as the “Source Workstation”, i.e.: the name of the computer attempting to logon.
Implementations§
Trait Implementations§
source§impl Clone for KerberosConfig
impl Clone for KerberosConfig
source§fn clone(&self) -> KerberosConfig
fn clone(&self) -> KerberosConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KerberosConfig
impl Debug for KerberosConfig
source§impl ProtocolConfig for KerberosConfig
impl ProtocolConfig for KerberosConfig
fn new_client(&self) -> Result<NegotiatedProtocol>
fn box_clone(&self) -> Box<dyn ProtocolConfig>
Auto Trait Implementations§
impl Freeze for KerberosConfig
impl RefUnwindSafe for KerberosConfig
impl Send for KerberosConfig
impl Sync for KerberosConfig
impl Unpin for KerberosConfig
impl UnwindSafe for KerberosConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more