Package org.entur.jwt.junit5.extention
Class AuthorizationServerTestManager
- java.lang.Object
-
- org.entur.jwt.junit5.extention.AuthorizationServerTestManager
-
public class AuthorizationServerTestManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ThreadLocal<AuthorizationServerTestContext>testContextHolder
-
Constructor Summary
Constructors Constructor Description AuthorizationServerTestManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationServerTestContextgetTestContext()Get theAuthorizationServerTestContextmanaged by thisAuthorizationServerTestManager.voidremoveTestContext()voidsetTestContext(AuthorizationServerTestContext context)
-
-
-
Field Detail
-
testContextHolder
protected final java.lang.ThreadLocal<AuthorizationServerTestContext> testContextHolder
-
-
Method Detail
-
getTestContext
public AuthorizationServerTestContext getTestContext()
Get theAuthorizationServerTestContextmanaged by thisAuthorizationServerTestManager.- Returns:
- the current text context
-
setTestContext
public void setTestContext(AuthorizationServerTestContext context)
-
removeTestContext
public void removeTestContext()
-
-