Skip to Content.
Sympa Menu

shibboleth-dev - RE: decoding a SAMLResponse

Subject: Shibboleth Developers

List archive

RE: decoding a SAMLResponse


Chronological Thread 
  • From: "Wilcox, Mark" <>
  • To: "Shahzad Younas" <>, <>
  • Subject: RE: decoding a SAMLResponse
  • Date: Mon, 21 Mar 2005 15:44:42 -0500

Becase decodBase64 comes back as an array of byte objects.
 
You have to do + new String(....))
 
Mark


From: Shahzad Younas [mailto:]
Sent: Mon 3/21/2005 9:16 AM
To:
Subject: decoding a SAMLResponse

Hi,
 
I am trying to decode the base64 encoded SAMLResponse which is returned by the HS,
 
log.info("SAML:" + String.valueOf(Base64.decodeBase64(hsParser.SAMLResponse.getBytes())))  ;
 
Why wont this decode it? My output from this line is:
 
SAML:[B@f3770c
 
I have checked properly and hsParser.SAMLResponse is indeed the actual base4encoded SAMLResponse.
 
Shahzad


  • decoding a SAMLResponse, Shahzad Younas, 03/21/2005
    • <Possible follow-up(s)>
    • RE: decoding a SAMLResponse, Wilcox, Mark, 03/21/2005

Archive powered by MHonArc 2.6.16.

Top of Page