Change package
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-access/gcube-geoserver-connector@149102 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
da302291a6
commit
f5d4a22329
|
@ -1,14 +0,0 @@
|
|||
package org.gcube.data.access.connector;
|
||||
|
||||
public class AuthenticationUtils {
|
||||
|
||||
protected final static String AUTHORIZATION = "Authorization";
|
||||
protected final static String BASIC = "Basic";
|
||||
protected final static String WHITESPACE = " ";
|
||||
|
||||
protected final static String USERNAME = "username";
|
||||
protected final static String PASSWORD = "password";
|
||||
|
||||
protected final static String GCUBE_TOKEN = "gcube-token";
|
||||
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
package org.gcube.data.access.connector.utils;
|
||||
|
||||
public class AuthenticationUtils {
|
||||
|
||||
public final static String AUTHORIZATION = "Authorization";
|
||||
public final static String BASIC = "Basic";
|
||||
public final static String WHITESPACE = " ";
|
||||
|
||||
public final static String USERNAME = "username";
|
||||
public final static String PASSWORD = "password";
|
||||
|
||||
public final static String GCUBE_QUERY_STRING = "gcube-token";
|
||||
|
||||
//cache parameters
|
||||
public final static String TOKEN_CACHE = "token";
|
||||
public final static int MAX_ITEMS_CACHE = 5; //max items in the cache object (LRUMap removes the least recently used entry if an entry is added when full)
|
||||
public final static int TIME_TO_LIVE = 100; //in seconds
|
||||
public final static int TIMER_INTERVAL = 100; //in seconds
|
||||
|
||||
}
|
Loading…
Reference in New Issue