1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package edu.internet2.middleware.shibboleth.common.relyingparty.provider.saml2;
18
19 import java.util.Collection;
20
21 import org.opensaml.xml.util.LazySet;
22
23 import edu.internet2.middleware.shibboleth.common.attribute.provider.SAML2AttributeAuthority;
24 import edu.internet2.middleware.shibboleth.common.relyingparty.provider.AbstractSAMLProfileConfiguration;
25 import edu.internet2.middleware.shibboleth.common.relyingparty.provider.CryptoOperationRequirementLevel;
26
27
28
29
30 public abstract class AbstractSAML2ProfileConfiguration extends AbstractSAMLProfileConfiguration {
31
32
33 private SAML2AttributeAuthority attributeAuthority;
34
35
36 private CryptoOperationRequirementLevel encryptNameID;
37
38
39 private CryptoOperationRequirementLevel encryptAssertion;
40
41
42 private int proxyCount;
43
44
45 private Collection<String> proxyAudiences;
46
47
48 protected AbstractSAML2ProfileConfiguration() {
49 proxyAudiences = new LazySet<String>();
50 }
51
52
53
54
55
56
57 public SAML2AttributeAuthority getAttributeAuthority() {
58 return attributeAuthority;
59 }
60
61
62
63
64
65
66 public void setAttributeAuthority(SAML2AttributeAuthority authority) {
67 attributeAuthority = authority;
68 }
69
70
71
72
73
74
75 public CryptoOperationRequirementLevel getEncryptNameID() {
76 return encryptNameID;
77 }
78
79
80
81
82
83
84 public void setEncryptNameID(CryptoOperationRequirementLevel encrypt) {
85 encryptNameID = encrypt;
86 }
87
88
89
90
91
92
93 public CryptoOperationRequirementLevel getEncryptAssertion() {
94 return encryptAssertion;
95 }
96
97
98
99
100
101
102 public void setEncryptAssertion(CryptoOperationRequirementLevel encrypt) {
103 encryptAssertion = encrypt;
104 }
105
106
107
108
109
110
111 public int getProxyCount() {
112 return proxyCount;
113 }
114
115
116
117
118
119
120 public void setProxyCount(int count) {
121 proxyCount = count;
122 }
123
124
125
126
127
128
129 public Collection<String> getProxyAudiences() {
130 return proxyAudiences;
131 }
132 }