Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Build SAMLAssertion

Subject: OpenSAML user discussion

List archive

RE: Build SAMLAssertion


Chronological Thread 
  • From: "Rathod, Ashish (A.K.)" <>
  • To:
  • Subject: RE: Build SAMLAssertion
  • Date: Mon, 15 Mar 2004 13:52:58 -0500
  • Hop-count: 1
  • Return-receipt-to: "Rathod, Ashish (A.K.)" <>

Sorry for the trouble Scott, but do you have any code snippets that
illustrate this?

Thanks.

Ashish

-----Original Message-----
From: Scott Cantor
[mailto:]
Sent: Monday, March 15, 2004 1:36 PM
To: Rathod, Ashish (A.K.);

Subject: RE: Build SAMLAssertion


> 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