ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static Public Member Functions | |
static | getSelfHost () |
static | selfURLhost () |
static | isHTTPS () |
static | selfURLNoQuery () |
static | getSelfHostWithPath () |
static | getFirstPathElement ($trailingslash=true) |
static | selfURL () |
static | getBaseURL () |
static | addURLparameter ($url, $parameters) |
static | checkURLAllowed ($url, array $trustedSites=null) |
static | parseStateID ($stateId) |
static | checkDateConditions ($start=null, $end=null) |
static | generateID () |
static | generateTimestamp ($instant=null) |
static | parseDuration ($duration, $timestamp=null) |
static | fatalError ($trackId='na', $errorCode=null, Exception $e=null) |
static | ipCIDRcheck ($cidr, $ip=null) |
static | redirect ($url, $parameters=array(), $allowed_redirect_hosts=null) |
static | redirectTrustedURL ($url, $parameters=array()) |
static | redirectUntrustedURL ($url, $parameters=array()) |
static | transposeArray ($in) |
static | isDOMElementOfType (DOMNode $element, $name, $nsURI) |
static | getDOMChildren (DOMElement $element, $localName, $namespaceURI) |
static | getDOMText ($element) |
static | getAcceptLanguage () |
static | validateXML ($xml, $schema) |
static | validateXMLDocument ($message, $type) |
static | generateRandomBytes ($length) |
static | stringToHex ($bytes) |
static | resolvePath ($path, $base=null) |
static | resolveURL ($url, $base=null) |
static | normalizeURL ($url) |
static | parseQueryString ($query_string) |
static | parseAttributes ($attributes) |
static | getSecretSalt () |
static | getLastError () |
static | resolveCert ($path) |
static | loadPublicKey (SimpleSAML_Configuration $metadata, $required=false, $prefix='') |
static | loadPrivateKey (SimpleSAML_Configuration $metadata, $required=false, $prefix='') |
static | formatDOMElement (DOMElement $root, $indentBase='') |
static | formatXMLString ($xml, $indentBase='') |
static | arrayize ($data, $index=0) |
static | isAdmin () |
static | getAdminLoginURL ($returnTo=null) |
static | requireAdmin () |
static | postRedirect ($destination, $post) |
static | createPostRedirectLink ($destination, $post) |
static | createHttpPostRedirectLink ($destination, $post) |
static | validateCA ($certificate, $caFile) |
static | initTimezone () |
static | writeFile ($filename, $data, $mode=0600) |
static | getTempDir () |
static | maskErrors ($mask) |
static | popErrorMask () |
static | getDefaultEndpoint (array $endpoints, array $bindings=null) |
static | checkCookie ($retryURL=null) |
static | debugMessage ($message, $type) |
static | fetch ($path, $context=array(), $getHeaders=false) |
static | aesEncrypt ($clear) |
static | aesDecrypt ($encData) |
static | isWindowsOS () |
static | setCookie ($name, $value, array $params=null, $throw=true) |
Static Public Attributes | |
static | $logMask = 0 |
Static Private Member Functions | |
static | _doRedirect ($url, $parameters=array()) |
Definition at line 12 of file Utilities.php.
|
staticprivate |
Definition at line 193 of file Utilities.php.
References $_SERVER, $code, $url, exit, header, and SimpleSAML\Logger\warning().
|
static |
Please use SimpleSAML::addURLParameters() instead.
Definition at line 99 of file Utilities.php.
References $url.
Referenced by SAML2\HTTPArtifact\getRedirectURL().
|
static |
Please use SimpleSAML::aesDecrypt() instead.
Definition at line 685 of file Utilities.php.
References SimpleSAML\Utils\Crypto\aesDecrypt().
|
static |
Please use SimpleSAML::aesEncrypt() instead.
Definition at line 676 of file Utilities.php.
References SimpleSAML\Utils\Crypto\aesEncrypt().
|
static |
Please use SimpleSAML::arrayize() instead.
Definition at line 502 of file Utilities.php.
References $data, $index, and SimpleSAML\Utils\Arrays\arrayize().
|
static |
Please use SimpleSAML::checkSessionCookie() instead.
Definition at line 649 of file Utilities.php.
References $retryURL, and SimpleSAML\Utils\HTTP\checkSessionCookie().
|
static |
Definition at line 126 of file Utilities.php.
References $end, time, and SAML2\Utils\xsDateTimeToTimestamp().
|
static |
Please use ::checkURLAllowed() instead.
Definition at line 108 of file Utilities.php.
References $url.
|
static |
Please use SimpleSAML::getPOSTRedirectURL() instead.
Definition at line 558 of file Utilities.php.
References $destination, $post, $postData, $session, $url, array, SimpleSAML\Utils\Random\generateID(), SimpleSAML\Module\getModuleURL(), and SimpleSAML_Session\getSessionFromRequest().
|
static |
PLease use SimpleSAML::getPOSTRedirectURL() instead.
Definition at line 548 of file Utilities.php.
References $destination, and $post.
|
static |
Please use SimpleSAML::debugSAMLMessage() instead.
Definition at line 658 of file Utilities.php.
References $message, $type, and SimpleSAML\Utils\XML\debugSAMLMessage().
Referenced by SAML2\Compat\Ssp\Container\debugMessage().
|
static |
Please raise a SimpleSAML_Error_Error exception instead.
Definition at line 178 of file Utilities.php.
References $errorCode.
|
static |
Please use SimpleSAML::fetch() instead.
Definition at line 667 of file Utilities.php.
References $path.
|
static |
Please use SimpleSAML::formatDOMElement() instead.
Definition at line 484 of file Utilities.php.
|
static |
Please use SimpleSAML::formatXMLString() instead.
Definition at line 493 of file Utilities.php.
References $xml, and SimpleSAML\Utils\XML\formatXMLString().
|
static |
Please use SimpleSAML::generateID() instead.
Definition at line 150 of file Utilities.php.
References SimpleSAML\Utils\Random\generateID().
Referenced by SAML2\Compat\Ssp\Container\generateId().
|
static |
Please use openssl_random_pseudo_bytes() instead.
Definition at line 359 of file Utilities.php.
Referenced by SAML2\HTTPArtifact\getRedirectURL().
|
static |
Please use ::generateTimestamp() instead.
Definition at line 160 of file Utilities.php.
References SimpleSAML\Utils\Time\generateTimestamp().
|
static |
Please use SimpleSAML::getAcceptLanguage() instead.
Definition at line 331 of file Utilities.php.
|
static |
Please use SimpleSAML::getAdminLoginURL instead();
Definition at line 520 of file Utilities.php.
References $returnTo, and SimpleSAML\Utils\Auth\getAdminLoginURL().
|
static |
Please use SimpleSAMLgetBaseURL() instead.
Definition at line 90 of file Utilities.php.
References getBaseURL().
Please use SimpleSAML::getDefaultEndpoint() instead.
Definition at line 639 of file Utilities.php.
References $bindings.
|
static |
Please use SimpleSAML::getDOMChildren() instead.
Definition at line 312 of file Utilities.php.
|
static |
Please use SimpleSAML::getDOMText() instead.
Definition at line 321 of file Utilities.php.
|
static |
Please use SimpleSAML::getFirstPathElement() instead.
Definition at line 72 of file Utilities.php.
|
static |
Please call error_get_last() directly.
Definition at line 438 of file Utilities.php.
References $error.
|
static |
Please use SimpleSAML::getSecretSalt() instead.
Definition at line 429 of file Utilities.php.
References SimpleSAML\Utils\Config\getSecretSalt().
|
static |
Please use SimpleSAML::getSelfHost() instead.
Definition at line 24 of file Utilities.php.
|
static |
Please use SimpleSAML::getSelfHostWithPath() instead.
Definition at line 62 of file Utilities.php.
|
static |
Please use SimpleSAML::getTempDir instead.
Definition at line 611 of file Utilities.php.
References SimpleSAML\Utils\System\getTempDir().
Referenced by SAML2\SOAPClient\send().
|
static |
Please use SimpleSAML::initTimezone() instead.
Definition at line 593 of file Utilities.php.
References SimpleSAML\Utils\Time\initTimezone().
|
static |
Use SimpleSAML::ipCIDRcheck() instead.
Definition at line 187 of file Utilities.php.
References SimpleSAML\Utils\Net\ipCIDRcheck().
|
static |
Please use SimpleSAML::isAdmin() instead.
Definition at line 511 of file Utilities.php.
References SimpleSAML\Utils\Auth\isAdmin().
|
static |
Please use SimpleSAML::isDOMNodeOfType() instead.
Definition at line 303 of file Utilities.php.
References $name, and SimpleSAML\Utils\XML\isDOMNodeOfType().
|
static |
Please use SimpleSAML::isHTTPS() instead.
Definition at line 42 of file Utilities.php.
|
static |
Please use SimpleSAML::getOS() instead.
Definition at line 694 of file Utilities.php.
References SimpleSAML\Utils\System\getOS(), and SimpleSAML\Utils\System\WINDOWS.
|
static |
Please use SimpleSAML::loadPrivateKey() instead.
Definition at line 475 of file Utilities.php.
References SimpleSAML\Utils\Crypto\loadPrivateKey().
Referenced by SAML2\SOAPClient\send().
|
static |
Please use SimpleSAML::loadPublicKey() instead.
Definition at line 466 of file Utilities.php.
References SimpleSAML\Utils\Crypto\loadPublicKey().
Referenced by SAML2\SOAPClient\send().
|
static |
Please use SimpleSAML::maskErrors() instead.
Definition at line 620 of file Utilities.php.
References $mask, and SimpleSAML\Logger\maskErrors().
|
static |
Please use SimpleSAML::normalizeURL() instead.
Definition at line 401 of file Utilities.php.
References $url.
|
static |
Please use SimpleSAML::normalizeAttributesArray() instead.
Definition at line 420 of file Utilities.php.
References $attributes, and SimpleSAML\Utils\Attributes\normalizeAttributesArray().
|
static |
Please use ::parseDuration() instead.
Definition at line 169 of file Utilities.php.
References $timestamp, and SimpleSAML\Utils\Time\parseDuration().
|
static |
Please use SimpleSAML::parseQueryString() instead.
Definition at line 410 of file Utilities.php.
|
static |
Please use SimpleSAML_Auth_State::parseStateID() instead.
Definition at line 117 of file Utilities.php.
References $stateId, and SimpleSAML_Auth_State\parseStateID().
|
static |
Please use SimpleSAML::popErrorMask() instead.
Definition at line 629 of file Utilities.php.
References SimpleSAML\Logger\popErrorMask().
|
static |
Please use SimpleSAML::submitPOSTData() instead.
Definition at line 538 of file Utilities.php.
References $destination, $post, and SimpleSAML\Utils\HTTP\submitPOSTData().
Referenced by SAML2\Compat\Ssp\Container\postRedirect().
|
static |
Instead, use the redirectTrustedURL() or redirectUntrustedURL() functions accordingly.
Definition at line 255 of file Utilities.php.
References $url.
|
static |
Please use SimpleSAML::redirectTrustedURL() instead.
Definition at line 274 of file Utilities.php.
References $url, and SimpleSAML\Utils\HTTP\redirectTrustedURL().
Referenced by SAML2\Compat\Ssp\Container\redirect().
|
static |
Please use SimpleSAML::redirectUntrustedURL() instead.
Definition at line 284 of file Utilities.php.
References $url, and SimpleSAML\Utils\HTTP\redirectUntrustedURL().
|
static |
Please use SimpleSAML::requireAdmin() instead.
Definition at line 529 of file Utilities.php.
References SimpleSAML\Utils\Auth\requireAdmin().
|
static |
Please use SimpleSAML::getCertPath() instead.
Definition at line 457 of file Utilities.php.
References $path.
Referenced by SAML2\SOAPClient\send().
|
static |
Please use SimpleSAML::resolvePath() instead.
Definition at line 383 of file Utilities.php.
|
static |
Please use SimpleSAML::resolveURL() instead.
Definition at line 392 of file Utilities.php.
|
static |
Please use SimpleSAML::getSelfURL() instead.
Definition at line 81 of file Utilities.php.
|
static |
Please use SimpleSAML::getSelfURLHost() instead.
Definition at line 33 of file Utilities.php.
|
static |
Please use SimpleSAML::getSelfURLNoQuery() instead.
Definition at line 52 of file Utilities.php.
|
static |
Please use SimpleSAML::setCookie() instead.
Definition at line 703 of file Utilities.php.
References $name, $params, and SimpleSAML\Utils\HTTP\setCookie().
|
static |
Please use bin2hex() instead.
Definition at line 370 of file Utilities.php.
Referenced by SAML2\HTTPArtifact\getRedirectURL().
|
static |
Please use SimpleSAMLtranspose() instead.
Definition at line 293 of file Utilities.php.
References $in, and SimpleSAML\Utils\Arrays\transpose().
|
static |
Definition at line 584 of file Utilities.php.
References $certificate, and SimpleSAML\XML\Validator\validateCertificate().
|
static |
Please use SimpleSAML::isValid() instead.
Definition at line 340 of file Utilities.php.
References $result, $schema, and $xml.
|
static |
Please use SimpleSAML::checkSAMLMessage() instead.
Definition at line 350 of file Utilities.php.
References $message, $type, and SimpleSAML\Utils\XML\checkSAMLMessage().
|
static |
Please use SimpleSAML::writeFile() instead.
Definition at line 602 of file Utilities.php.
References $data, $filename, and SimpleSAML\Utils\System\writeFile().
Referenced by SAML2\SOAPClient\send().
|
static |
Please use SimpleSAML::isErrorMasked() instead.
Definition at line 18 of file Utilities.php.