mace-opensaml-users - How to create a new artifact in OpenSAML2?
Subject: OpenSAML user discussion
List archive
- From: Pratik Chatterjee <>
- To: opensaml-users <>
- Subject: How to create a new artifact in OpenSAML2?
- Date: Fri, 31 Jul 2009 11:53:24 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ToV/rBmyNRDrplCV1JTHyyOft8saX2Kh62Rt/H4Y40nafureFdyNI3Lb+u9pbbeN8x UvnotiMoOrqQY21q7F1s4XgQpRz5QMTZso/j1VuAIozKyU1uB4DyzOTu7LfLmlgSNB4K KCjdIN83hM2YhVNshECP/DjDX0R+WA/Zd6ZBQ=
Hi,
In OpenSaml 1, I used to create an artifact like this (for testing SSO)
SAMLIdentifier samlIdentifier =
SAMLConfig.instance().getDefaultIDProvider();
byte[] sourceId = samlIdentifier.generateRandomBytes(20);
SAMLArtifact artifact = new SAMLArtifactType0001( sourceId );
How do i create a new artifact of Type 0001 in OpenSaml2?
Also, I would like to know how I can create artifacts of other types.
I have tried using these classes, but haven't been able to.
SAML1ArtifactBuilderFactory can create an artifact from the base64
sting, but how do i create a new artifact?
Thanks
Pratik
- How to create a new artifact in OpenSAML2?, Pratik Chatterjee, 07/31/2009
Archive powered by MHonArc 2.6.16.