Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] xacml: ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME in org.opensaml.xacml.policy.AttributeDesignatorType class

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] xacml: ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME in org.opensaml.xacml.policy.AttributeDesignatorType class


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [OpenSAML] xacml: ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME in org.opensaml.xacml.policy.AttributeDesignatorType class
  • Date: Fri, 10 Dec 2010 06:28:31 -0500
  • Organization: Itumi, LLC

That would be a bug. Go ahead and file it in Jira.

On 12/10/10 6:14 AM, Tassin Sara wrote:
Hi.

I'm using xacml packageto write a xml policy file with
EnvironmentAttributeDesignator tag.

I see a NullPointer Exception for my code:

org.apache.xml.security.Init./init/();

org.opensaml.DefaultBootstrap./bootstrap/();

XMLObjectBuilderFactorybuilderFactory =
org.opensaml.xml.Configuration./getBuilderFactory/();

AttributeDesignatorTypeImplBuilder environmentADTypeImplBuilder =
(AttributeDesignatorTypeImplBuilder) builderFactory .getBuilder

(AttributeDesignatorType.ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME);

AttributeDesignatorType environmentADType = (AttributeDesignatorType)
environmentADTypeImplBuilder.buildObject

(XACMLConstants.XACML20_NS,
AttributeDesignatorType.ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME,

XACMLConstants.XACML_PREFIX);

It can be because in org.opensaml.xacml.policy.AttributeDesignatorType
class the value of ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME
is "EnvironmentAttribtueDesignator" instead of
"EnvironmentAttributeDesignator"?

Thanks.

Sara


------------------------------------------------------------------------
AVVISO DI RISERVATEZZA
Informazioni riservate possono essere contenute nel messaggio o nei suoi
allegati. Se non siete i destinatari indicati nel messaggio, o
responsabili per la sua consegna alla persona, o se avete ricevuto il
messaggio per errore, siete pregati di non trascriverlo, copiarlo o
inviarlo a nessuno. In tal caso vi invitiamo a cancellare il messaggio
ed i suoi allegati. Grazie.

CONFIDENTIALITY NOTICE
Confidential information may be contained in this message or in its
attachments. If you are not the addressee indicated in this message, or
responsible for message delivering to that person, or if you have
received this message in error, you may not transcribe, copy or deliver
this message to anyone. In that case, you should delete this message and
its attachments. Thank you.

--
Chad La Joie
http://itumi.biz
trusted identities, delivered



Archive powered by MHonArc 2.6.16.

Top of Page