projects
/
cascardo
/
ipsilon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cc16037
)
Fix NameId exception
author
Simo Sorce
<simo@redhat.com>
Mon, 14 Apr 2014 22:38:45 +0000
(18:38 -0400)
committer
Simo Sorce
<simo@redhat.com>
Wed, 16 Apr 2014 00:21:50 +0000
(20:21 -0400)
Report what invalid name was used and fix exception on raising the exception on
line 129
Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/providers/saml2/provider.py
patch
|
blob
|
history
diff --git
a/ipsilon/providers/saml2/provider.py
b/ipsilon/providers/saml2/provider.py
index
b6ed4bf
..
c44c8b8
100755
(executable)
--- a/
ipsilon/providers/saml2/provider.py
+++ b/
ipsilon/providers/saml2/provider.py
@@
-33,8
+33,8
@@
class InvalidProviderId(ProviderException):
class NameIdNotAllowed(Exception):
- def __init__(self):
- message = '
The specified Name ID is not allowed'
+ def __init__(self
, id
):
+ message = '
Name ID [%s] is not allowed' % id
super(NameIdNotAllowed, self).__init__(message)
self.message = message