// **********************************************************************
//
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
// Ice version 3.4.1
package Glacier2;
// <auto-generated>
//
// Generated from file `PermissionsVerifier.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
/**
* The Glacier2 permissions verifier. This is called through the
* process of establishing a session.
*
* @see Router
*
**/
public interface _PermissionsVerifierOperationsNC
{
/**
* Check whether a user has permission to access the router.
*
* @param userId The user id for which to check permission.
*
* @param password The user's password.
*
* @param reason The reason why access was denied.
*
* @return True if access is granted, or false otherwise.
*
**/
boolean checkPermissions(String userId, String password, Ice.StringHolder reason);
}