/usr/share/Ice-3.5.1/php/lib/Glacier2/PermissionsVerifier.php is in php-zeroc-ice 3.5.1-6+b3.
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 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2013 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.5.1
//
// <auto-generated>
//
// Generated from file `PermissionsVerifier.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Glacier2/SSLInfo.php';
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)));
}
if(!interface_exists('Glacier2_PermissionsVerifier'))
{
interface Glacier2_PermissionsVerifier
{
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);
}
}
$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));
}
if(!interface_exists('Glacier2_SSLPermissionsVerifier'))
{
interface Glacier2_SSLPermissionsVerifier
{
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);
}
}
$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));
}
?>
|