AbstractRequest.java
2.12 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.granite.auth.saml.model;
import com.adobe.granite.auth.saml.model.Issuer;
import com.adobe.granite.auth.saml.model.Message;
import java.util.Calendar;
public abstract class AbstractRequest
implements Message {
private String id;
private String version;
private Calendar issueInstant;
private String destination;
private String consent;
private Issuer issuer;
private String rawMessage;
private boolean signatureValid;
@Override
public String getId() {
return this.id;
}
@Override
public void setId(String id) {
this.id = id;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Calendar getIssueInstant() {
return this.issueInstant;
}
public void setIssueInstant(Calendar issueInstant) {
this.issueInstant = issueInstant;
}
public String getDestination() {
return this.destination;
}
public void setDestination(String destination) {
this.destination = destination;
}
public String getConsent() {
return this.consent;
}
public void setConsent(String consent) {
this.consent = consent;
}
public Issuer getIssuer() {
return this.issuer;
}
public void setIssuer(Issuer issuer) {
this.issuer = issuer;
}
public boolean hasIssuer() {
return null != this.issuer;
}
public boolean hasConsent() {
return null != this.consent && this.consent.length() > 0;
}
public boolean hasDestination() {
return null != this.destination && this.destination.length() > 0;
}
@Override
public void setRawMessage(String rawMessage) {
this.rawMessage = rawMessage;
}
@Override
public String getRawMessage() {
return this.rawMessage;
}
public void setSignatureValid(boolean signatureValid) {
this.signatureValid = signatureValid;
}
public boolean isSignatureValid() {
return this.signatureValid;
}
}