Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] unable to obtain typed builder for ...

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] unable to obtain typed builder for ...


Chronological Thread 
  • From: owen nirvana <>
  • To:
  • Subject: Re: [OpenSAML] unable to obtain typed builder for ...
  • Date: Tue, 23 Mar 2010 01:29:25 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=cvdJ6gBO5AvfE9DRjTqr+d0t/mBSYiHKTepe653Xd/L4vMsyiBjV3J7PympKhlHHbm CwpGb5PZIerVaMme8KaJ0tLZa2Fo3tF89PlpO2JlDphNsTnUlmsHL0LGrJciAf+mJThI 6NsyVsHKrS4P+CEQUEp4KQWkPyrfygCoDKpds=

thanks ,
I initialise XMLToolingConfig only,
but another question

about get time by XMLTooling::DateTime,

the following is the code:
DateTime now(); // I thinks it should return the current time
or
time_t t;
time(&t);
DateTime now(t, true/false);
or
time_t t;
time(&t);
DateTime now(XMLString::transcode(asctime(gmtime(&t)))); // maybe DateTime should accept utc time as the legal param

then
cout << XMLString::transcode(now.getDateTimeCanonicalRepresentation()) << endl;

always 0000-00-00T00:00:00.1Z





On Mon, Mar 22, 2010 at 11:56 PM, Scott Cantor <> wrote:
> the following code will throw a XMLObjectException, error info "unable to
> typed builder for issuer"

You haven't initialized the libraries using SAMLConfig::getConfig().init()
(or some close variant thereof, check the API docs for specifics.).

-- Scott






Archive powered by MHonArc 2.6.16.

Top of Page