Search in sources :

Example 1 with JwtProperties

use of com.thinkbiganalytics.auth.config.JwtProperties in project kylo by Teradata.

the class JwtRememberMeServicesTest method setUp.

/**
 * Create service and setup environment for tests
 */
@Before
public void setUp() {
    DateTimeUtils.setCurrentMillisFixed(1461942300000L);
    final JwtProperties properties = new JwtProperties();
    properties.setAlgorithm(AlgorithmIdentifiers.HMAC_SHA256);
    properties.setKey("https://www.thinkbiganalytics.com/");
    service = new JwtRememberMeServices(properties);
}
Also used : JwtProperties(com.thinkbiganalytics.auth.config.JwtProperties) Before(org.junit.Before)

Aggregations

JwtProperties (com.thinkbiganalytics.auth.config.JwtProperties)1 Before (org.junit.Before)1