ShibbolethTest
extends TestCase
in package
PermissionProvider Shibboleth Test Class
Tags
Table of Contents
- testAliasIdpentityidTrue() : void
- Test option alias idpentityid for Shib-Identity-Provider
- testMultivaluedOptionFalse() : void
- Test multi-valued option with matching no header
- testMultivaluedOptionTrue() : void
- Test multi-valued option with matching header
- checkShibboleth() : void
- Setup request and shibboleth objects, run getPermissions and check the result
Methods
testAliasIdpentityidTrue()
Test option alias idpentityid for Shib-Identity-Provider
public
testAliasIdpentityidTrue() : void
Return values
void —testMultivaluedOptionFalse()
Test multi-valued option with matching no header
public
testMultivaluedOptionFalse() : void
Return values
void —testMultivaluedOptionTrue()
Test multi-valued option with matching header
public
testMultivaluedOptionTrue() : void
Return values
void —checkShibboleth()
Setup request and shibboleth objects, run getPermissions and check the result
protected
checkShibboleth(array<string|int, mixed> $headers, mixed $options, array<string|int, mixed> $expectedResult[, array<string|int, mixed> $config = [] ]) : void
Parameters
- $headers : array<string|int, mixed>
-
Request headers
- $options : mixed
-
options as from configuration
- $expectedResult : array<string|int, mixed>
-
expected result returned by getPermissions
- $config : array<string|int, mixed> = []
-
VuFind configuration options