List of usage examples for org.springframework.security.web.authentication.rememberme JdbcTokenRepositoryImpl setDataSource
public final void setDataSource(DataSource dataSource)
From source file:com.jeanchampemont.notedown.config.WebSecurityConfiguration.java
@Bean public PersistentTokenRepository persistentTokenRepository() { JdbcTokenRepositoryImpl repo = new JdbcTokenRepositoryImpl(); repo.setDataSource(dataSource); return repo;//from w ww . ja va2s . c om }
From source file:org.smigo.user.authentication.SecurityConfig.java
@Bean public PersistentTokenRepository persistentTokenRepository() { JdbcTokenRepositoryImpl db = new JdbcTokenRepositoryImpl(); db.setDataSource(dataSource); return db;//from w w w . j a va 2 s .co m }
From source file:com.iservport.auth.SecurityWebConfig.java
public PersistentTokenRepository persistentTokenRepository() { JdbcTokenRepositoryImpl db = new JdbcTokenRepositoryImpl(); db.setDataSource(dataSource); return db;/*from w w w . j a v a 2s. c o m*/ }
From source file:com.searchbox.framework.config.SecurityConfig.java
@Bean public PersistentTokenRepository persistentTokenRepository() { JdbcTokenRepositoryImpl tokenRepository = new JdbcTokenRepositoryImpl(); tokenRepository.setDataSource(dataSource); return tokenRepository; }
From source file:de.alexandria.cms.config.SpringConfigBackendDatabase.java
@Bean public PersistentTokenRepository persistentTokenRepository() { JdbcTokenRepositoryImpl db = new JdbcTokenRepositoryImpl(); db.setDataSource(pooledDataSource()); return db;/* w ww .j a v a 2 s . c o m*/ }
From source file:org.wallride.autoconfigure.WallRideSecurityConfiguration.java
@Bean public PersistentTokenRepository persistentTokenRepository() { JdbcTokenRepositoryImpl repository = new JdbcTokenRepositoryImpl(); repository.setDataSource(dataSource); return repository; }