1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.opensaml.saml2.metadata.impl;
22
23 import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
24 import org.opensaml.common.xml.SAMLConstants;
25 import org.opensaml.saml2.metadata.AssertionConsumerService;
26
27
28
29
30 public class AssertionConsumerServiceBuilder extends AbstractSAMLObjectBuilder<AssertionConsumerService> {
31
32
33
34
35 public AssertionConsumerServiceBuilder() {
36
37 }
38
39
40 public AssertionConsumerService buildObject() {
41 return buildObject(SAMLConstants.SAML20MD_NS, AssertionConsumerService.DEFAULT_ELEMENT_LOCAL_NAME,
42 SAMLConstants.SAML20MD_PREFIX);
43 }
44
45
46 public AssertionConsumerService buildObject(String namespaceURI, String localName, String namespacePrefix) {
47 return new AssertionConsumerServiceImpl(namespaceURI, localName, namespacePrefix);
48 }
49 }