diff options
author | pdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-08-22 12:50:16 +0000 |
---|---|---|
committer | pdanner <pdanner@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-08-22 12:50:16 +0000 |
commit | 7db9b2bcb7af96c7787843213864de577a5072f7 (patch) | |
tree | 63af49fc3a5916a203ca92aa78bf06eb826c5526 /id/server/idserverlib/src/main/java/at/gv | |
parent | 28e8bbbf83ec351a10acad94628698cdd4531023 (diff) | |
download | moa-id-spss-7db9b2bcb7af96c7787843213864de577a5072f7.tar.gz moa-id-spss-7db9b2bcb7af96c7787843213864de577a5072f7.tar.bz2 moa-id-spss-7db9b2bcb7af96c7787843213864de577a5072f7.zip |
Bugfix: in der Klasse "at.gv.egovernment.moa.id.auth.servlet.GetAuthenticationDataService" wurde das "RequestID"-Attribut immer vom <samlp:AssertionArtifact>-Element anstelle des <samlp:Request>-Elements genommen. Da das <samlp:AssertionArtifact>-Element aber kein solches Attribut hat, war das immer der leere String. Deshalb hatte dann im SOAP-Response das "InResponseTo"-Attribut immer den leeren String als Wert (siehe attachte Datei "soapResponseWrong.xml"):
<samlp:Response InResponseTo="" IssueInstant="2007-08-10T16:53:40+02:00" MajorVersion="1" MinorVersion="0" ResponseID="3853364975403723914">
Richtig ist:
<samlp:Response InResponseTo="1114457508436236300" IssueInstant="2007-08-10T16:53:40+02:00" MajorVersion="1" MinorVersion="0" ResponseID="3853364975403723914">
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@926 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java index c41b514c8..0ea858a71 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java @@ -86,7 +86,7 @@ public class GetAuthenticationDataService implements Constants { } else { Element samlArtifactElem = (Element)samlArtifactList.item(0); - requestID = samlArtifactElem.getAttribute("RequestID"); + requestID = request.getAttribute("RequestID"); String samlArtifact = DOMUtils.getText(samlArtifactElem); try { AuthenticationData authData = AuthenticationServer.getInstance(). |