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;
|
|
|
|
|
2016-11-25 15:11:31 +01:00
|
|
|
import org.gcube.common.authorization.library.ClientType;
|
|
|
|
|
2024-03-12 10:35:57 +01:00
|
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
|
|
import jakarta.xml.bind.annotation.XmlRootElement;
|
|
|
|
import jakarta.xml.bind.annotation.XmlSeeAlso;
|
|
|
|
|
2015-05-18 19:15:11 +02:00
|
|
|
@XmlRootElement
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
2016-07-22 14:27:15 +02:00
|
|
|
@XmlSeeAlso(value={UserInfo.class, ServiceInfo.class, ExternalServiceInfo.class, ContainerInfo.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-21 19:37:31 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
2016-01-19 18:49:25 +01:00
|
|
|
public abstract String getId();
|
|
|
|
|
|
|
|
public abstract List<String> getRoles();
|
2015-05-18 19:15:11 +02:00
|
|
|
|
2016-11-25 15:11:31 +01:00
|
|
|
public abstract ClientType getType();
|
|
|
|
|
2015-05-18 19:15:11 +02:00
|
|
|
}
|