Added calls in bunch for token generation
This commit is contained in:
parent
0b818fd17b
commit
957c9ad0c5
|
@ -11,6 +11,8 @@ import org.gcube.common.authorization.library.AuthorizationEntry;
|
|||
public class AuthorizationEntryList {
|
||||
|
||||
private List<AuthorizationEntry> entries = new ArrayList<AuthorizationEntry>();
|
||||
|
||||
protected AuthorizationEntryList() {}
|
||||
|
||||
public AuthorizationEntryList(List<AuthorizationEntry> entries) {
|
||||
super();
|
||||
|
|
|
@ -10,7 +10,7 @@ public class ListMapper {
|
|||
|
||||
private List<String> list = new ArrayList<String>();
|
||||
|
||||
|
||||
protected ListMapper() {}
|
||||
|
||||
public ListMapper(List<String> list) {
|
||||
super();
|
||||
|
|
|
@ -1,17 +1,24 @@
|
|||
package org.gcube.common.authorization.library.utils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.gcube.common.authorization.library.provider.ServiceInfo;
|
||||
|
||||
@XmlRootElement
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class MultiServiceTokenRequest {
|
||||
|
||||
private List<String> containerTokens;
|
||||
private List<String> containerTokens= new ArrayList<String>();
|
||||
|
||||
private ServiceInfo info;
|
||||
|
||||
protected MultiServiceTokenRequest() {}
|
||||
|
||||
public MultiServiceTokenRequest(List<String> containerTokens, ServiceInfo info) {
|
||||
this.containerTokens = containerTokens;
|
||||
this.info = info;
|
||||
|
|
Loading…
Reference in New Issue