---
name: "Authen::Krb5::Ccache"
section: "3pm"
platform: "linux"
package: "libauthen-krb5-perl"
version: "1.906-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Authen::Krb5::Ccache"
---

# Authen::Krb5::Ccache(3pm)

Kerberos 5 credentials cache object.

## NAME

Authen::Krb5::Ccache - Kerberos 5 credentials cache object.

## VERSION

version 1.906

## METHODS

### initialize(p)

Creates/refreshes a credentials cache for the primary principal 'p'.  If the cache already exists, its contents are destroyed.

### store\_cred(creds)

Stores the given credentials, which should be an Authen::Krb5::Creds object as returned from **get\_init\_creds\_password()** or **get\_init\_creds\_keytab()**, in the cache.

### "get\_name"

Returns the name of the credentials cache.

### "get\_principal"

Returns the primary principal of the credentials cache.

### "destroy"

Destroys the credentials cache and releases all resources it used.

### start\_seq\_get()

Returns a cursor that can be passed to ***next\_cred()*** to read in turn every credential in the cache.

### next\_cred(cursor)

Returns the next credential in the cache as an Authen::Krb5::Creds object.

### end\_seq\_get(cursor)

Perform cleanup opreations after ***next\_cred()*** and invalidates *cursor*.

## AUTHOR

Jeff Horwitz \<jeff@smashing.org\>

## 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.
