ArcheAuthenticationController
extends ArcheBaseController
in package
Description of ArcheAuthenticationController
Tags
Table of Contents
Properties
- $config : Config
- $helper : mixed
- $model : mixed
- $ontology : Ontology
- $pdo : PDO
- $repoDb : RepoDb
- $schema : Schema
- $siteLang : mixed
- $actualPage : mixed
- $roles : mixed
Methods
- __construct() : mixed
- checkUserPermission() : Response
- check the logged or not logged user rights and the actual resource rights
- redirectOldDetailView() : mixed
- we have to redirect the old metadata url to the new one old: oeaw_detail new: metadata
- changeAPILanguage() : void
- If the API needs a different response language then we have to change the session lang params to get the desired lang string translation
- checkHttpLogin() : array<string|int, mixed>
- Check if the user logged in with httpd
- checkShibbolethLogin() : array<string|int, mixed>
- Check if the user logged in with Shibboleth
- checkTmpDirs() : mixed
- getCurrentLanguage() : type
- Get the site actual language
Properties
$config
protected
Config
$config
$helper
protected
mixed
$helper
$model
protected
mixed
$model
$ontology
protected
Ontology
$ontology
$pdo
protected
PDO
$pdo
$repoDb
protected
RepoDb
$repoDb
$schema
protected
Schema
$schema
$siteLang
protected
mixed
$siteLang
$actualPage
private
mixed
$actualPage
$roles
private
mixed
$roles
= []
Methods
__construct()
public
__construct() : mixed
checkUserPermission()
check the logged or not logged user rights and the actual resource rights
public
checkUserPermission(string $resId[, string $aclRead = "" ]) : Response
Parameters
- $resId : string
- $aclRead : string = ""
Return values
ResponseredirectOldDetailView()
we have to redirect the old metadata url to the new one old: oeaw_detail new: metadata
public
redirectOldDetailView(string $identifier) : mixed
Parameters
- $identifier : string
changeAPILanguage()
If the API needs a different response language then we have to change the session lang params to get the desired lang string translation
protected
changeAPILanguage(string $lang) : void
Parameters
- $lang : string
checkHttpLogin()
Check if the user logged in with httpd
private
checkHttpLogin(string $aclRead) : array<string|int, mixed>
Parameters
- $aclRead : string
Return values
array<string|int, mixed>checkShibbolethLogin()
Check if the user logged in with Shibboleth
private
checkShibbolethLogin(string $aclRead) : array<string|int, mixed>
Parameters
- $aclRead : string
Return values
array<string|int, mixed>checkTmpDirs()
private
checkTmpDirs() : mixed
getCurrentLanguage()
Get the site actual language
private
getCurrentLanguage() : type