Skip to Content.
Sympa Menu

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

Subject: OpenSAML user discussion

List archive

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


Chronological Thread 
  • From: Tassin Sara <>
  • To: "" <>
  • Subject: [OpenSAML] xacml: ENVIRONMENT_ATTRIBUTE_DESIGNATOR_ELEMENT_LOCAL_NAME in org.opensaml.xacml.policy.AttributeDesignatorType class
  • Date: Fri, 10 Dec 2010 12:14:55 +0100
  • Accept-language: it-IT, en-US
  • Acceptlanguage: it-IT, en-US

Hi.

I'm using xacml package to 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();

XMLObjectBuilderFactory builderFactory = 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.



Archive powered by MHonArc 2.6.16.

Top of Page