---
name: "Wallet::Policy::Stanford"
section: "3pm"
platform: "linux"
package: "krb5-wallet-server"
version: "1.7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Wallet::Policy::Stanford"
---

# Wallet::Policy::Stanford(3pm)

Stanford's wallet naming and ownership policy

## NAME

Wallet::Policy::Stanford - Stanford's wallet naming and ownership policy

## SYNOPSIS

```
    use Wallet::Policy::Stanford;
    my ($type, $name, $user) = @_;
    my $error = valid_name($type, $name, $user);
    my ($name, @acl) = default_owner($type, $name);
```

## DESCRIPTION

Wallet::Policy::Stanford implements Stanford's wallet naming and ownership policy as described in *docs/stanford-naming* in the wallet distribution. It is primarily intended as an example for other sites, but it is used at Stanford to implement that policy.

This module provides the **default\_owner()** and **verify\_name()** functions that are part of the wallet configuration interface (as documented in Wallet::Config).  They can be imported directly into a wallet configuration file from this module or wrapped to apply additional rules.

## SEE ALSO

**Wallet::Config**(3)

The Stanford policy \<https://www.eyrie.org/~eagle/software/wallet/naming.html\> implemented by this module.

This module is part of the wallet system.  The current version is available from \<https://www.eyrie.org/~eagle/software/wallet/\>.

## AUTHOR

Russ Allbery \<eagle@eyrie.org\>
