2015-05-18 19:15:11 +02:00
|
|
|
package org.gcube.common.authorization.library.provider;
|
|
|
|
|
2016-01-20 19:33:05 +01:00
|
|
|
import java.io.Serializable;
|
2015-05-29 18:32:49 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2015-05-18 19:15:11 +02:00
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
2016-01-19 18:49:25 +01:00
|
|
|
import javax.xml.bind.annotation.XmlSeeAlso;
|
2015-05-18 19:15:11 +02:00
|
|
|
|
|
|
|
@XmlRootElement
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
2016-01-19 18:49:25 +01:00
|
|
|
@XmlSeeAlso(value={UserInfo.class, ServiceInfo.class})
|
2016-01-20 19:33:05 +01:00
|
|
|
public abstract class ClientInfo implements Serializable{
|
2015-05-18 19:15:11 +02:00
|
|
|
|
2016-01-19 18:49:25 +01:00
|
|
|
public abstract String getId();
|
|
|
|
|
|
|
|
public abstract List<String> getRoles();
|
2015-11-24 19:26:46 +01:00
|
|
|
|
2015-05-18 19:15:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
}
|