mirror of https://github.com/jacekkow/keycloak-protocol-cas

Matthias Piepkorn
2017-07-26 f75caf002c2014cd1dd875225417f2a5de1af9d0
commit | author | age
513246 1 package org.keycloak.protocol.cas.representations;
MP 2
3 import org.keycloak.protocol.cas.utils.AttributesMapAdapter;
4
5 import javax.xml.bind.annotation.*;
6 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
7 import java.util.List;
8 import java.util.Map;
9
10 @XmlAccessorType(XmlAccessType.FIELD)
8a5518 11 public class CASServiceResponseAuthenticationSuccess {
513246 12     private String user;
bce810 13     @XmlJavaTypeAdapter(AttributesMapAdapter.class)
MP 14     private Map<String, Object> attributes;
513246 15     private String proxyGrantingTicket;
MP 16     @XmlElementWrapper
17     @XmlElement(name="proxy")
18     private List<String> proxies;
19
20     public String getUser() {
21         return this.user;
22     }
23
24     public void setUser(final String user) {
25         this.user = user;
bce810 26     }
MP 27
28     public Map<String, Object> getAttributes() {
29         return this.attributes;
30     }
31
32     public void setAttributes(final Map<String, Object> attributes) {
33         this.attributes = attributes;
513246 34     }
MP 35
36     public String getProxyGrantingTicket() {
37         return this.proxyGrantingTicket;
38     }
39
40     public void setProxyGrantingTicket(final String proxyGrantingTicket) {
41         this.proxyGrantingTicket = proxyGrantingTicket;
42     }
43
44     public List<String> getProxies() {
45         return this.proxies;
46     }
47
48     public void setProxies(final List<String> proxies) {
49         this.proxies = proxies;
50     }
51 }