30 lines
612 B
Java
30 lines
612 B
Java
|
/**
|
||
|
*
|
||
|
*/
|
||
|
package org.gcube.utils;
|
||
|
|
||
|
//import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
|
||
|
import org.gcube.common.scope.api.ScopeProvider;
|
||
|
import org.junit.After;
|
||
|
import org.junit.Before;
|
||
|
|
||
|
/**
|
||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||
|
*
|
||
|
*/
|
||
|
public class ScopedTest {
|
||
|
|
||
|
@Before
|
||
|
public void before() throws Exception{
|
||
|
//SecurityTokenProvider.instance.set(TestUtility.TOKEN);
|
||
|
ScopeProvider.instance.set("/gcube/devsec");
|
||
|
}
|
||
|
|
||
|
@After
|
||
|
public void after() throws Exception{
|
||
|
//SecurityTokenProvider.instance.reset();
|
||
|
ScopeProvider.instance.reset();
|
||
|
}
|
||
|
|
||
|
}
|