1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.common.lib;
20
21 import java.time.OffsetDateTime;
22 import org.apache.syncope.common.lib.to.EntityTO;
23
24 public class AMSession implements EntityTO {
25
26 private static final long serialVersionUID = 18201657700802L;
27
28 private String key;
29
30 private OffsetDateTime authenticationDate;
31
32 private String principal;
33
34 private String json;
35
36 @Override
37 public String getKey() {
38 return key;
39 }
40
41 @Override
42 public void setKey(final String key) {
43 this.key = key;
44 }
45
46 public OffsetDateTime getAuthenticationDate() {
47 return authenticationDate;
48 }
49
50 public void setAuthenticationDate(final OffsetDateTime authenticationDate) {
51 this.authenticationDate = authenticationDate;
52 }
53
54 public String getPrincipal() {
55 return principal;
56 }
57
58 public void setPrincipal(final String authenticatedPrincipal) {
59 this.principal = authenticatedPrincipal;
60 }
61
62 public String getJson() {
63 return json;
64 }
65
66 public void setJson(final String json) {
67 this.json = json;
68 }
69 }