Java Code Examples for org.springframework.security.web.authentication.rememberme.PersistentRememberMeToken#getSeries()
The following examples show how to use
org.springframework.security.web.authentication.rememberme.PersistentRememberMeToken#getSeries() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PersistentTokenRepositoryImpl.java From springboot-vue.js-bbs with Apache License 2.0 | 5 votes |
@Override public void createNewToken(PersistentRememberMeToken token) { User user = userRepository.findByUsername(token.getUsername()); PersistentLogins persistentLogins = new PersistentLogins(user, token.getSeries(), token.getTokenValue(), dateToLocalDate(token.getDate())); persistentLoginsRepository.save(persistentLogins); }
Example 2
Source File: PersistentTokenService.java From zhcet-web with Apache License 2.0 | 5 votes |
private static PersistentLogin getLoginFromToken(PersistentRememberMeToken token) { return new PersistentLogin( token.getSeries(), token.getUsername(), token.getTokenValue(), token.getDate() ); }
Example 3
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 4
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 5
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 6
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 7
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 8
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 9
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 10
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 11
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 12
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 13
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 14
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 15
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 16
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 17
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 18
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 19
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }
Example 20
Source File: PersistentLogin.java From Spring-Security-Third-Edition with MIT License | 4 votes |
public PersistentLogin(PersistentRememberMeToken token){ this.series = token.getSeries(); this.username = token.getUsername(); this.token = token.getTokenValue(); this.lastUsed = token.getDate(); }