Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
26fd93f6
Commit
26fd93f6
authored
8 years ago
by
Jaime Pérez
Browse files
Options
Downloads
Patches
Plain Diff
Deprecate the old SimpleSAML_Error_NoPassive and SimpleSAML_Error_ProxyCountExceeded exceptions.
parent
3f9313c4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/SimpleSAML/Error/NoPassive.php
+8
-0
8 additions, 0 deletions
lib/SimpleSAML/Error/NoPassive.php
lib/SimpleSAML/Error/ProxyCountExceeded.php
+8
-0
8 additions, 0 deletions
lib/SimpleSAML/Error/ProxyCountExceeded.php
modules/saml/lib/Error.php
+2
-0
2 additions, 0 deletions
modules/saml/lib/Error.php
with
18 additions
and
0 deletions
lib/SimpleSAML/Error/NoPassive.php
+
8
−
0
View file @
26fd93f6
<?php
<?php
/**
* Class SimpleSAML_Error_NoPassive
*
* @deprecated This class has been deprecated and will be removed in SimpleSAMLphp 2.0. Please use
* SimpleSAML\Module\saml\Error\NoPassive instead.
*
* @see \SimpleSAML\Module\saml\Error\NoPassive
*/
class
SimpleSAML_Error_NoPassive
extends
SimpleSAML_Error_Exception
{
class
SimpleSAML_Error_NoPassive
extends
SimpleSAML_Error_Exception
{
}
}
This diff is collapsed.
Click to expand it.
lib/SimpleSAML/Error/ProxyCountExceeded.php
+
8
−
0
View file @
26fd93f6
<?php
<?php
/**
* Class SimpleSAML_Error_ProxyCountExceeded
*
* @deprecated This class has been deprecated and will be removed in SimpleSAMLphp 2.0. Please use
* SimpleSAML\Module\saml\Error\ProxyCountExceeded instead.
*
* @see \SimpleSAML\Module\saml\Error\ProxyCountExceeded
*/
class
SimpleSAML_Error_ProxyCountExceeded
extends
SimpleSAML_Error_Exception
{
class
SimpleSAML_Error_ProxyCountExceeded
extends
SimpleSAML_Error_Exception
{
}
}
This diff is collapsed.
Click to expand it.
modules/saml/lib/Error.php
+
2
−
0
View file @
26fd93f6
...
@@ -104,6 +104,7 @@ class sspmod_saml_Error extends SimpleSAML_Error_Exception {
...
@@ -104,6 +104,7 @@ class sspmod_saml_Error extends SimpleSAML_Error_Exception {
// Return the original exception unchanged
// Return the original exception unchanged
return
$exception
;
return
$exception
;
// TODO: remove this branch in 2.0
}
elseif
(
$exception
instanceof
SimpleSAML_Error_NoPassive
)
{
}
elseif
(
$exception
instanceof
SimpleSAML_Error_NoPassive
)
{
$e
=
new
self
(
$e
=
new
self
(
\SAML2\Constants
::
STATUS_RESPONDER
,
\SAML2\Constants
::
STATUS_RESPONDER
,
...
@@ -111,6 +112,7 @@ class sspmod_saml_Error extends SimpleSAML_Error_Exception {
...
@@ -111,6 +112,7 @@ class sspmod_saml_Error extends SimpleSAML_Error_Exception {
$exception
->
getMessage
(),
$exception
->
getMessage
(),
$exception
$exception
);
);
// TODO: remove this branch in 2.0
}
elseif
(
$exception
instanceof
SimpleSAML_Error_ProxyCountExceeded
)
{
}
elseif
(
$exception
instanceof
SimpleSAML_Error_ProxyCountExceeded
)
{
$e
=
new
self
(
$e
=
new
self
(
\SAML2\Constants
::
STATUS_RESPONDER
,
\SAML2\Constants
::
STATUS_RESPONDER
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment