NAME

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

VERSION

version 1.905

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.