Glacier2._PermissionsVerifierOperationsNC Maven / Gradle / Ivy
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.7
//
//
//
// Generated from file `PermissionsVerifier.ice'
//
// Warning: do not edit this file.
//
//
//
package Glacier2;
/**
* 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.
*
* @throws PermissionDeniedException Raised if the user access is
* denied. This can be raised in place of returning false with a
* reason set in the reason out parameter.
*
**/
boolean checkPermissions(String userId, String password, Ice.StringHolder reason)
throws PermissionDeniedException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy