Authen...Ccache(3pm)
π Authen::Krb5::Ccache π
okay bestie, so this is the User Contributed Perl Documentation page for Authen::Krb5::Ccache β and it's literally just a Kerberos 5 credentials cache object. that's the whole vibe. it's giving "small module, big responsibilities" β¨
πΈ VERSION πΈ
version 1.906 β yes ma'am, we're on that build π«Ά
π METHODS π
no cap, this is where all the action is. every single one of these, coming right up:
β¨ initialize(p)
Creates/refreshes a credentials cache for the primary principal p.
β οΈ bestie listen to me: if the cache already exists, its contents are destroyed. like, gone gone. main character behaviour honestly but also kind of unhinged π
β¨ store_cred(creds)
Stores the given credentials in the cache. those creds should be an Authen::Krb5::Creds object β the kind you get back from get_init_creds_password() or get_init_creds_keytab(). so like, hand me the creds and I'll put them away π
β¨ get_name
Returns the name of the credentials cache. iconic. we love a name reveal π
β¨ get_principal
Returns the primary principal of the credentials cache. who's the star of the show? this method knows. β
β¨ destroy
Destroys the credentials cache and releases all resources it used. it's not a vibe, it's a whole teardown. bye bye cache, you ate while you were here π¦
β¨ start_seq_get()
Returns a cursor that you can pass to next_cred() to read in turn every credential in the cache. think of it as your little ticket to ride the whole list one by one ποΈ
β¨ next_cred(cursor)
Returns the next credential in the cache as an Authen::Krb5::Creds object. feed it the cursor from start_seq_get() and it just keeps handing you creds, one at a time, no cap π
β¨ end_seq_get(cursor)
Performs cleanup operations after next_cred() and invalidates cursor.
π tiny heads up: the original page spells it "opreations" and honestly? relatable. typos are a personality trait. anyway β cleanup happens, and once the cursor is invalidated, it's invalidated. don't come back for it, she's moved on β¨
π AUTHOR π
Jeff Horwitz <jeff@smashing.org> β absolute legend, go follow his work π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2000 by Jeff Horwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, honestly π«Ά
and that's the whole page bestie!! sign-off time: this doc came from perl v5.40.1, dated 2025-04-11, and it lives under the manual name Authen::Krb5::Ccache(3pm). go cache those credentials, you've got this π
β¨π
π¦ where this page comes from
- debian trixie: libauthen-krb5-perl 1.906-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libauthen-krb5-perl 1.906-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms