Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
e9dc411d
Commit
e9dc411d
authored
Feb 19, 2013
by
Bertrand Gauthier
Browse files
Correction clé "unicaen-auth"
parent
3715ca70
Changes
6
Hide whitespace changes
Inline
Side-by-side
config/module.config.php
View file @
e9dc411d
...
...
@@ -63,7 +63,7 @@ return array(
'unicaen-auth'
=>
$settings
,
'view_manager'
=>
array
(
'template_path_stack'
=>
array
(
'unicaen-
user
'
=>
__DIR__
.
'/../view'
,
'unicaen-
auth
'
=>
__DIR__
.
'/../view'
,
),
),
'service_manager'
=>
array
(
...
...
@@ -89,7 +89,7 @@ return array(
'options'
=>
array
(
'route'
=>
'/utilisateur/generer-sesame'
,
'defaults'
=>
array
(
'controller'
=>
'unicaen-
user
'
,
'controller'
=>
'unicaen-
auth
'
,
'action'
=>
'generer-sesame'
,
),
),
...
...
src/UnicaenAuth/Authentication/Adapter/AdapterChainServiceFactory.php
View file @
e9dc411d
...
...
@@ -14,10 +14,10 @@ class AdapterChainServiceFactory implements FactoryInterface
{
$chain
=
new
AdapterChain
;
$userService
=
$serviceLocator
->
get
(
'unicaen-
user
_user_service'
);
$userService
=
$serviceLocator
->
get
(
'unicaen-
auth
_user_service'
);
/* @var $options \UnicaenAuth\Options\ModuleOptions */
$options
=
$serviceLocator
->
get
(
'unicaen-
user
_module_options'
);
$options
=
$serviceLocator
->
get
(
'unicaen-
auth
_module_options'
);
if
(
$options
->
getCasAuthenticationActivated
())
{
/* @var $casAdapter Cas */
$casAdapter
=
$serviceLocator
->
get
(
'UnicaenAuth\Authentication\Adapter\Cas'
);
...
...
src/UnicaenAuth/Authentication/Adapter/Db.php
View file @
e9dc411d
...
...
@@ -98,7 +98,7 @@ class Db extends \ZfcUser\Authentication\Adapter\Db
public
function
getUnicaenAuthOptions
()
{
if
(
!
$this
->
unicaenUserOptions
instanceof
AuthenticationOptionsInterface
)
{
$this
->
setUnicaenAuthOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
user
_module_options'
));
$this
->
setUnicaenAuthOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
auth
_module_options'
));
}
return
$this
->
unicaenUserOptions
;
}
...
...
src/UnicaenAuth/Authentication/Adapter/Ldap.php
View file @
e9dc411d
...
...
@@ -198,7 +198,7 @@ class Ldap extends AbstractAdapter implements ServiceManagerAwareInterface, Even
public
function
getOptions
()
{
if
(
!
$this
->
options
instanceof
AuthenticationOptionsInterface
)
{
$this
->
setOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
user
_module_options'
));
$this
->
setOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
auth
_module_options'
));
}
return
$this
->
options
;
}
...
...
src/UnicaenAuth/Authentication/Storage/Ldap.php
View file @
e9dc411d
...
...
@@ -188,7 +188,7 @@ class Ldap implements Storage\StorageInterface, ServiceManagerAwareInterface
public
function
getOptions
()
{
if
(
!
$this
->
options
instanceof
AuthenticationOptionsInterface
)
{
$this
->
setOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
user
_module_options'
));
$this
->
setOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
auth
_module_options'
));
}
return
$this
->
options
;
}
...
...
src/UnicaenAuth/Authentication/Storage/Mixed.php
View file @
e9dc411d
...
...
@@ -185,7 +185,7 @@ class Mixed implements Storage\StorageInterface, ServiceManagerAwareInterface
public
function
getOptions
()
{
if
(
!
$this
->
options
instanceof
AuthenticationOptionsInterface
)
{
$this
->
setOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
user
_module_options'
));
$this
->
setOptions
(
$this
->
getServiceManager
()
->
get
(
'unicaen-
auth
_module_options'
));
}
return
$this
->
options
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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