org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator Java Examples

The following examples show how to use org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator. 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: MongoTokenStore.java    From spring-security-mongo with MIT License 5 votes vote down vote up
public MongoTokenStore(final MongoOAuth2AccessTokenRepository mongoOAuth2AccessTokenRepository,
                       final MongoOAuth2RefreshTokenRepository mongoOAuth2RefreshTokenRepository,
                       final AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.mongoOAuth2AccessTokenRepository = mongoOAuth2AccessTokenRepository;
    this.mongoOAuth2RefreshTokenRepository = mongoOAuth2RefreshTokenRepository;
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #2
Source File: RedisTemplateTokenStore.java    From open-capacity-platform with Apache License 2.0 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
	this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #3
Source File: RedisTemplateTokenStore.java    From open-capacity-platform with Apache License 2.0 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
	this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #4
Source File: CustomRedisTokenStore.java    From microservices-platform with Apache License 2.0 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #5
Source File: PigRedisTokenStore.java    From pig with MIT License 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #6
Source File: FwRedisTokenStore.java    From fw-cloud-framework with MIT License 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
	this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #7
Source File: CustomRedisTokenStore.java    From Auth-service with MIT License 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #8
Source File: MongoTokenStore.java    From konker-platform with Apache License 2.0 4 votes vote down vote up
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
Example #9
Source File: MongoConfiguration.java    From spring-security-mongo with MIT License 4 votes vote down vote up
@Bean
public AuthenticationKeyGenerator authenticationKeyGenerator() {
    return new DefaultAuthenticationKeyGenerator();
}