2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1997, by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * This module provides the interface to validating contexts, credentials, 2N/A * and principals. The current implementation does nothing. 2N/A * __dh_validate_context: Validate a context, i.e., check if the context is 2N/A * in the database. If the context is non null then return success, else 2N/A * return bad context. 2N/A * __dh_install_context: Install the context in to the database of current 2N/A * __dh_remove_context: Deinstall the context from the database of current 2N/A * __dh_validate_cred: Check the cred database if the supplied crediential 2N/A * is present, valid. 2N/A * __dh_install_cred: Installed the cred into the credential database 2N/A * __dh_remove_cred: Remove the supplied cred from the database. 2N/A * Check if a principal is valid. 2N/A * XXX We could check for a valid netname.