Struct cerbero_lib::EmptyVault
source · pub struct EmptyVault { /* private fields */ }Expand description
Reference for implementing the Vault trait
Implementations§
source§impl EmptyVault
impl EmptyVault
Trait Implementations§
source§impl Default for EmptyVault
impl Default for EmptyVault
source§impl Vault for EmptyVault
impl Vault for EmptyVault
fn id(&self) -> &str
source§fn support_cred_format(&self) -> Result<Option<CredFormat>>
fn support_cred_format(&self) -> Result<Option<CredFormat>>
Returns the format used to store credentials in the vault support. It
can be ccache or krb.
source§fn dump(&self) -> Result<TicketCreds>
fn dump(&self) -> Result<TicketCreds>
Retrieve all the tickets.
source§fn save(&self, _: TicketCreds) -> Result<()>
fn save(&self, _: TicketCreds) -> Result<()>
Saves the given tickets into the vault. The rest of the tickets are
destroyed.
source§fn save_as(&self, _: TicketCreds, _: CredFormat) -> Result<()>
fn save_as(&self, _: TicketCreds, _: CredFormat) -> Result<()>
Saves the given tickets in the given format, if possible. The rest
of the tickets are destroyed.
source§fn change_format(&self, _: CredFormat) -> Result<()>
fn change_format(&self, _: CredFormat) -> Result<()>
Changes the support format to the one given.
source§fn get_user_tgts(&self, user: &KrbUser) -> Result<TicketCreds>
fn get_user_tgts(&self, user: &KrbUser) -> Result<TicketCreds>
Retrieves the user TGTs (if many) for the user domain.
source§fn s4u2self_tgss(
&self,
user: &KrbUser,
impersonate_user: &KrbUser,
user_service: Option<&String>,
) -> Result<TicketCreds>
fn s4u2self_tgss( &self, user: &KrbUser, impersonate_user: &KrbUser, user_service: Option<&String>, ) -> Result<TicketCreds>
Retrieves the TGSs used for impersonation in s4u2self, part of the
constrained delegation.
Auto Trait Implementations§
impl Freeze for EmptyVault
impl RefUnwindSafe for EmptyVault
impl Send for EmptyVault
impl Sync for EmptyVault
impl Unpin for EmptyVault
impl UnwindSafe for EmptyVault
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