mace-opensaml-users - Building AttributeType
Subject: OpenSAML user discussion
List archive
- From: "Rachana Ananthakrishnan" <>
- To: <>
- Subject: Building AttributeType
- Date: Thu, 8 May 2008 09:37:41 -0500
Hi,
I have the following code to create attributes with some string value, but
end up with AttributeTypeImplBuilder ends up being null.
Here are relevant code snippets:
import org.opensaml.Configuration;
static XMLObjectBuilderFactory builderFactory;
static {
try {
org.opensaml.DefaultBootstrap.bootstrap();
} catch (Exception e) {
// FIXME: handle exception better
System.err.println(e);
}
builderFactory = Configuration.getBuilderFactory();
System.out.println("Builder factory " + (builderFactory == null));
}
// attribute builder is null here.
AttributeTypeImplBuilder attributeBuilder = (AttributeTypeImplBuilder)
builderFactory.getBuilder(AttributeType.DEFAULT_ELEMENT_NAME);
Is there any additional initialization that is required?
Thanks,
Rachana
- Building AttributeType, Rachana Ananthakrishnan, 05/08/2008
- Re: [OpenSAML] Building AttributeType, Chad La Joie, 05/08/2008
- RE: [OpenSAML] Building AttributeType, Rachana Ananthakrishnan, 05/08/2008
- Re: [OpenSAML] Building AttributeType, Brent Putman, 05/08/2008
- RE: [OpenSAML] Building AttributeType, Rachana Ananthakrishnan, 05/08/2008
- Re: [OpenSAML] Building AttributeType, Brent Putman, 05/08/2008
- RE: [OpenSAML] Building AttributeType, Rachana Ananthakrishnan, 05/08/2008
- Re: [OpenSAML] Building AttributeType, Brent Putman, 05/08/2008
- RE: [OpenSAML] Building AttributeType, Rachana Ananthakrishnan, 05/08/2008
- Re: [OpenSAML] Building AttributeType, Brent Putman, 05/08/2008
- RE: [OpenSAML] Building AttributeType, Rachana Ananthakrishnan, 05/08/2008
- Re: [OpenSAML] Building AttributeType, Chad La Joie, 05/08/2008
Archive powered by MHonArc 2.6.16.