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
Xavier Bachelot
lemonldap-ng
Commits
f0af8354
Commit
f0af8354
authored
Aug 19, 2010
by
Clément OUDOT
Browse files
Correct bug for artifact resolution on IDP side (#143)
parent
354a7570
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm
View file @
f0af8354
...
@@ -110,7 +110,7 @@ sub issuerForUnAuthUser {
...
@@ -110,7 +110,7 @@ sub issuerForUnAuthUser {
# Process authentication request
# Process authentication request
my
$result
;
my
$result
;
if
(
$artifact
)
{
if
(
$artifact
)
{
$result
=
$self
->
processArtRe
quest
Msg
(
$login
,
$request
);
$result
=
$self
->
processArtRe
sponse
Msg
(
$login
,
$request
);
}
}
else
{
else
{
$result
=
$self
->
processAuthnRequestMsg
(
$login
,
$request
);
$result
=
$self
->
processAuthnRequestMsg
(
$login
,
$request
);
...
@@ -1154,7 +1154,7 @@ sub issuerForAuthUser {
...
@@ -1154,7 +1154,7 @@ sub issuerForAuthUser {
# Process authentication request
# Process authentication request
my
$result
;
my
$result
;
if
(
$artifact
)
{
if
(
$artifact
)
{
$result
=
$self
->
processArtRe
quest
Msg
(
$login
,
$request
);
$result
=
$self
->
processArtRe
sponse
Msg
(
$login
,
$request
);
}
}
else
{
else
{
$result
=
$self
->
processAuthnRequestMsg
(
$login
,
$request
);
$result
=
$self
->
processAuthnRequestMsg
(
$login
,
$request
);
...
@@ -1561,7 +1561,7 @@ sub issuerForAuthUser {
...
@@ -1561,7 +1561,7 @@ sub issuerForAuthUser {
$self
->
forceSignature
(
$login
);
$self
->
forceSignature
(
$login
);
}
}
else
{
else
{
$self
->
lmLog
(
"
S
L
O response signature according to metadata
",
$self
->
lmLog
(
"
S
S
O response signature according to metadata
",
'
debug
'
);
'
debug
'
);
}
}
...
@@ -1575,9 +1575,11 @@ sub issuerForAuthUser {
...
@@ -1575,9 +1575,11 @@ sub issuerForAuthUser {
# Choose method
# Choose method
$artifact_method
=
$self
->
getHttpMethod
("
artifact-get
")
$artifact_method
=
$self
->
getHttpMethod
("
artifact-get
")
if
(
$method
==
$self
->
getHttpMethod
("
redirect
")
);
if
(
$method
==
$self
->
getHttpMethod
("
redirect
")
||
$method
==
$self
->
getHttpMethod
("
artifact-get
")
);
$artifact_method
=
$self
->
getHttpMethod
("
artifact-post
")
$artifact_method
=
$self
->
getHttpMethod
("
artifact-post
")
if
(
$method
==
$self
->
getHttpMethod
("
post
")
);
if
(
$method
==
$self
->
getHttpMethod
("
post
")
||
$method
==
$self
->
getHttpMethod
("
artifact-post
")
);
# Build artifact message
# Build artifact message
unless
(
$self
->
buildArtifactMsg
(
$login
,
$artifact_method
)
)
{
unless
(
$self
->
buildArtifactMsg
(
$login
,
$artifact_method
)
)
{
...
...
Write
Preview
Markdown
is supported
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