Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Build SAMLAssertion

Subject: OpenSAML user discussion

List archive

RE: Build SAMLAssertion


Chronological Thread 
  • From: Scott Cantor <>
  • To: ,
  • Subject: RE: Build SAMLAssertion
  • Date: Mon, 15 Mar 2004 13:36:22 -0500
  • Organization: The Ohio State University

> SAMLAssertion(java.lang.String issuer, java.util.Date
> notBefore, java.util.Date notOnOrAfter, java.util.Collection
> conditions, SAMLAdvice advice, java.util.Collection statements)
>
> Builds an assertion out of its component parts
>
> Can you give me an example on how I could create the
> conditions, advice, statements objects.

The same way. If you use those constructors, you build it from the bottom
up, and then pass the lower level objects into the other constructor.

It's actually easier now to use the piecemeal approach and start at the top,
because you can add individual conditions, statements, etc. one at a time.

Just note that anything you pass in is owned by that object, so you must
orphan any of your own references. If you want to pass a copy, just clone it
when you pass it in.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page