/usr/share/php/Glacier2/PermissionsVerifier.php is in php-zeroc-ice 3.6.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2016 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.6.3
//
// <auto-generated>
//
// Generated from file `PermissionsVerifier.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Glacier2/SSLInfo.php';
global $Glacier2__t_PermissionDeniedException;
if(!class_exists('Glacier2_PermissionDeniedException'))
{
class Glacier2_PermissionDeniedException extends Ice_UserException
{
public function __construct($reason='')
{
$this->reason = $reason;
}
public function ice_name()
{
return 'Glacier2::PermissionDeniedException';
}
public function __toString()
{
global $Glacier2__t_PermissionDeniedException;
return IcePHP_stringifyException($this, $Glacier2__t_PermissionDeniedException);
}
public $reason;
}
$Glacier2__t_PermissionDeniedException = IcePHP_defineException('::Glacier2::PermissionDeniedException', 'Glacier2_PermissionDeniedException', true, null, array(
array('reason', $IcePHP__t_string, false, 0)));
}
global $Glacier2__t_PermissionsVerifier;
global $Glacier2__t_PermissionsVerifierPrx;
if(!interface_exists('Glacier2_PermissionsVerifier'))
{
interface Glacier2_PermissionsVerifier extends Ice_Object
{
public function checkPermissions($userId, $password, $reason);
}
class Glacier2_PermissionsVerifierPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::Glacier2::PermissionsVerifier', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::Glacier2::PermissionsVerifier', $facet);
}
public static function ice_staticId()
{
return '::Glacier2::PermissionsVerifier';
}
}
$Glacier2__t_PermissionsVerifier = IcePHP_defineClass('::Glacier2::PermissionsVerifier', 'Glacier2_PermissionsVerifier', -1, true, false, $Ice__t_Object, null, null);
$Glacier2__t_PermissionsVerifierPrx = IcePHP_defineProxy($Glacier2__t_PermissionsVerifier);
IcePHP_defineOperation($Glacier2__t_PermissionsVerifier, 'checkPermissions', 2, 1, 2, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_string, false, 0)), array(array($IcePHP__t_string, false, 0)), array($IcePHP__t_bool, false, 0), array($Glacier2__t_PermissionDeniedException));
}
global $Glacier2__t_SSLPermissionsVerifier;
global $Glacier2__t_SSLPermissionsVerifierPrx;
if(!interface_exists('Glacier2_SSLPermissionsVerifier'))
{
interface Glacier2_SSLPermissionsVerifier extends Ice_Object
{
public function authorize($info, $reason);
}
class Glacier2_SSLPermissionsVerifierPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::Glacier2::SSLPermissionsVerifier', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::Glacier2::SSLPermissionsVerifier', $facet);
}
public static function ice_staticId()
{
return '::Glacier2::SSLPermissionsVerifier';
}
}
$Glacier2__t_SSLPermissionsVerifier = IcePHP_defineClass('::Glacier2::SSLPermissionsVerifier', 'Glacier2_SSLPermissionsVerifier', -1, true, false, $Ice__t_Object, null, null);
$Glacier2__t_SSLPermissionsVerifierPrx = IcePHP_defineProxy($Glacier2__t_SSLPermissionsVerifier);
IcePHP_defineOperation($Glacier2__t_SSLPermissionsVerifier, 'authorize', 2, 1, 2, array(array($Glacier2__t_SSLInfo, false, 0)), array(array($IcePHP__t_string, false, 0)), array($IcePHP__t_bool, false, 0), array($Glacier2__t_PermissionDeniedException));
}
?>
|