Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to check a status success in an SAML 2.0 response

noechriJul 16 2012 — edited Jul 16 2012
hello,

in SAML 1.0 response , we could check the status as follows (where statusCode = oracle.security.xmlsec.samlp.StatusCode) :

QName statusCodeValue = statusCode.getStatusCodeValue();
if (StatusCode.SUCCESS.equals(statusCodeValue.getLocalPart()) { .....


Now in SAML 2.0 libraries, we don't see the static var StatusCode.SUCCESS anymore....

do we have to define it ourselves as "Success" ? or how can we check if the returning saml 2.0 response is successful ?

I found following var : SAMLURI.statusCodes_top_level_SUCCESS which has the value "urn:oasis:names:tc:SAML:2.0:status:Success"

but I'm not quit sure against what field i should compare this. perhaps the StatusCode.getValue ?

Edited by: noechri on 16-jul-2012 7:38
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2012
Added on Jul 16 2012
1 comment
232 views