1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package edu.internet2.middleware.shibboleth.common.config.relyingparty.saml;
18
19 import org.opensaml.xml.util.DatatypeHelper;
20 import org.springframework.beans.factory.support.BeanDefinitionBuilder;
21 import org.springframework.beans.factory.xml.ParserContext;
22 import org.w3c.dom.Element;
23
24
25
26
27 public abstract class AbstractSAML1ProfileConfigurationBeanDefinitionParser extends
28 AbstractSAMLProfileConfigurationBeanDefinitionParser {
29
30
31 protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
32 super.doParse(element, parserContext, builder);
33
34 builder.addPropertyReference("attributeAuthority", DatatypeHelper.safeTrimOrNullString(element.getAttributeNS(
35 null, "attributeAuthority")));
36 }
37 }