All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Glacier2._PermissionsVerifierOperations Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
//
// 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 _PermissionsVerifierOperations
{
    /**
     * 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.
     *
     * @param current The Current object for the invocation.
     * @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, Ice.Current current)
        throws PermissionDeniedException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy