git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/Common/authorization-common-library@122399 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4a20202321
commit
3476d4a3d2
|
@ -18,22 +18,27 @@ public class ServiceAccess {
|
|||
|
||||
public ServiceAccess() {}
|
||||
|
||||
public ServiceAccess(String name, String serviceClass) {
|
||||
public ServiceAccess(String serviceClass) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.serviceClass = serviceClass;
|
||||
}
|
||||
|
||||
public ServiceAccess(String name, String serviceClass) {
|
||||
this(serviceClass);
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public ServiceAccess(String name, String serviceClass, String serviceId) {
|
||||
this(name, serviceClass);
|
||||
this.serviceId = serviceId;
|
||||
}
|
||||
|
||||
/*
|
||||
public ServiceAccess(String name, String serviceClass, String serviceId,
|
||||
HashMap<String, String> serviceSpecificPolices) {
|
||||
this(name, serviceClass, serviceId);
|
||||
this.serviceSpecificPolices = serviceSpecificPolices;
|
||||
}
|
||||
}*/
|
||||
|
||||
public String getAsString(){
|
||||
if (serviceClass == null)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.gcube.common.authorization.library.provider;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
|
@ -10,7 +11,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
|
|||
@XmlRootElement
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlSeeAlso(value={UserInfo.class, ServiceInfo.class})
|
||||
public abstract class ClientInfo {
|
||||
public abstract class ClientInfo implements Serializable{
|
||||
|
||||
public abstract String getId();
|
||||
|
||||
|
|
Loading…
Reference in New Issue