Class JWTSpringConfiguration
java.lang.Object
com.levigo.jadice.web.server.spring.JWTSpringConfiguration
Configuration of the Spring beans that the
JWTServerContext expects to get injected.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf Spring security is found on the classpath this method produces a Spring security context awareExecutorService.voidsetJwtGeneralThreadFactory(ThreadFactory jwtGeneralThreadFactory)
-
Constructor Details
-
JWTSpringConfiguration
public JWTSpringConfiguration()
-
-
Method Details
-
getExecutorService
If Spring security is found on the classpath this method produces a Spring security context awareExecutorService. Otherwise, a plainJWTThreadPoolExecutoris created.- Returns:
- bean managed by Spring
-
setJwtGeneralThreadFactory
@Autowired @Qualifier("jwtGeneralThreadFactory") public void setJwtGeneralThreadFactory(ThreadFactory jwtGeneralThreadFactory)
-