Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open
LU Authorization
Commits
5db4ecae
Commit
5db4ecae
authored
Feb 22, 2022
by
Dainis Abols
Browse files
Added test user settings
Readme update Version 5.0.2
parent
019ed044
Changes
4
Hide whitespace changes
Inline
Side-by-side
composer.json
View file @
5db4ecae
{
"name"
:
"luitd/lu-auth"
,
"version"
:
"5.0.
1
"
,
"version"
:
"5.0.
2
"
,
"description"
:
"TYPO3 Authentication for University of Latvia"
,
"type"
:
"typo3-cms-extension"
,
"keywords"
:
[
...
...
@@ -29,6 +29,11 @@
"Lu\\LuAuth\\"
:
"Classes"
}
},
"autoload-dev"
:
{
"psr-4"
:
{
"Lu\\LuAuth\\Tests\\"
:
"Tests"
}
},
"replace"
:
{
"typo3-ter/lu_auth"
:
"self.version"
},
...
...
ext_conf_template.txt
View file @
5db4ecae
...
...
@@ -7,6 +7,12 @@ ldapServer = pele.lu.lv
# cat=LDAP Settings/set; type=string; label=LDAP DC:LDAP Domain Component
ldapDC = ou=people,dc=lu,dc=lv
# cat=LDAP Settings/set; type=string; label=LDAP Test User:LDAP user for unittests
ldapTestUser =
# cat=LDAP Settings/set; type=string; label=LDAP Test Pass:LDAP pass for unittests
ldapTestPass =
# cat=Shibboleth Settings/set; type=string; label=Shibboleth Login Handler
loginHandler = /Shibboleth.sso/Login
...
...
ext_emconf.php
View file @
5db4ecae
...
...
@@ -14,7 +14,7 @@ $EM_CONF[$_EXTKEY] = [
'title'
=>
'LU Authentication'
,
'description'
=>
'TYPO3 Authentication for University of Latvia'
,
'category'
=>
'misc'
,
'version'
=>
'
v
5.0.
1
'
,
'version'
=>
'5.0.
2
'
,
'dependencies'
=>
'typo3,lu_api'
,
'state'
=>
'stable'
,
'clearCacheOnLoad'
=>
1
,
...
...
readme.md
View file @
5db4ecae
...
...
@@ -3,7 +3,7 @@
## Version
5.
0.
0
5.
0.
2
## Dependencies
...
...
@@ -18,17 +18,26 @@ Dainis Abols <dainis.abols@lu.lv>
## Configuration
| Tab | Var name | Meaning |
|
----------
|
----------------------
|
----------------------------
|
|----------
--|
----------------------
--|--
----------------------------|
| LDAP | ldapServer | LDAP Server |
| LDAP | ldapDC | LDAP Domain Component |
|
|
|
|
|
--
|
--
|
--
|
| Shibboleth | loginHandler | Shibboleth Login Handler |
| Shibboleth | remoteIdentityProvider | Shibboleth Identity Provider |
| Shibboleth | remoteIDP | Shibboleth IDP |
| Shibboleth | remoteUse | Shibboleth UserID |
| Shibboleth | remoteSessionId | Shibboleth Session ID |
| Shibboleth | remoteUserGroups | Shibboleth User Groups |
|
|
|
|
|
--
|
--
|
--
|
| Extra | logoutInfoUrl | Redirect after FE logout |
| Extra | extraStoragePid | Storage Pid |
## Testing
```
shell
./vendor/bin/phpunit public/typo3conf/ext/lu_auth/Tests/<test-file>
```
| Test name | Test File | Assertions |
|----------------|--------------------------------|------------|
| connectionTest | Functional/LDAPConnection.php | 11 |
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment