Class Utils
- java.lang.Object
-
- org.gcube.common.authorization.client.proxy.Utils
-
public class Utils extends Object
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static StringaddInfrastructureHashToToken(String token, int infrastructureHash)protected static intgetInfrastructureHashfromContext(String context)static intgetInfrastructureHashFromToken(String token, String defaultInfrastructureToUse)protected static StringgetRealToken(String token)
-
-
-
Method Detail
-
getInfrastructureHashfromContext
protected static int getInfrastructureHashfromContext(String context)
-
getInfrastructureHashFromToken
public static int getInfrastructureHashFromToken(String token, String defaultInfrastructureToUse)
-
addInfrastructureHashToToken
protected static String addInfrastructureHashToToken(String token, int infrastructureHash)
-
-