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.core.impl;
22
23 import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
24 import org.opensaml.common.xml.SAMLConstants;
25 import org.opensaml.saml2.core.AuthenticatingAuthority;
26
27
28
29
30 public class AuthenticatingAuthorityBuilder extends AbstractSAMLObjectBuilder<AuthenticatingAuthority> {
31
32
33 public AuthenticatingAuthorityBuilder() {
34
35 }
36
37
38 public AuthenticatingAuthority buildObject() {
39 return buildObject(SAMLConstants.SAML20_NS, AuthenticatingAuthority.DEFAULT_ELEMENT_LOCAL_NAME,
40 SAMLConstants.SAML20_PREFIX);
41 }
42
43
44 public AuthenticatingAuthority buildObject(String namespaceURI, String localName, String namespacePrefix) {
45 return new AuthenticatingAuthorityImpl(namespaceURI, localName, namespacePrefix);
46 }
47 }