AuthnStatement.java
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.granite.auth.saml.model;
import com.adobe.granite.auth.saml.model.AuthnContext;
import com.adobe.granite.auth.saml.model.SubjectLocality;
import java.util.Calendar;
import java.util.LinkedList;
public class AuthnStatement {
protected Calendar authnInstant;
protected Calendar sessionNotOnOrAfter;
protected String sessionIndex;
protected LinkedList<SubjectLocality> subjectLocalities;
protected LinkedList<AuthnContext> authnContexts;
public Calendar getAuthnInstant() {
return this.authnInstant;
}
public Calendar getSessionNotOnOrAfter() {
return this.sessionNotOnOrAfter;
}
public String getSessionIndex() {
return this.sessionIndex;
}
public void setAuthnInstant(Calendar authnInstant) {
this.authnInstant = authnInstant;
}
public void setSessionNotOnOrAfter(Calendar sessionNotOnOrAfter) {
this.sessionNotOnOrAfter = sessionNotOnOrAfter;
}
public void setSessionIndex(String sessionIndex) {
this.sessionIndex = sessionIndex;
}
public void addSubjectLocality(SubjectLocality subjectLocality) {
if (this.subjectLocalities == null) {
this.subjectLocalities = new LinkedList();
}
this.subjectLocalities.add(subjectLocality);
}
public void addAuthnContext(AuthnContext authnContext) {
if (this.authnContexts == null) {
this.authnContexts = new LinkedList();
}
this.authnContexts.add(authnContext);
}
}