当前位置: 首页>>代码示例>>Java>>正文


Java AuthenticationKeyGenerator类代码示例

本文整理汇总了Java中org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator的典型用法代码示例。如果您正苦于以下问题:Java AuthenticationKeyGenerator类的具体用法?Java AuthenticationKeyGenerator怎么用?Java AuthenticationKeyGenerator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


AuthenticationKeyGenerator类属于org.springframework.security.oauth2.provider.token包,在下文中一共展示了AuthenticationKeyGenerator类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getAuthenticationKeyGenerator

import org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator; //导入依赖的package包/类
@Bean
public AuthenticationKeyGenerator getAuthenticationKeyGenerator() {
  return new DefaultAuthenticationKeyGenerator();
}
 
开发者ID:Mert-Z,项目名称:spring-oauth2-cassandra-token-store,代码行数:5,代码来源:OAuthUtil.java

示例2: MongoTokenStore

import org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator; //导入依赖的package包/类
@Autowired
public MongoTokenStore(final MongoOAuth2AccessTokenRepository mongoOAuth2AccessTokenRepository,
		final MongoOAuth2RefreshTokenRepository mongoOAuth2RefreshTokenRepository,
		final AuthenticationKeyGenerator authenticationKeyGenerator) {
	this.mongoOAuth2AccessTokenRepository = mongoOAuth2AccessTokenRepository;
	this.mongoOAuth2RefreshTokenRepository = mongoOAuth2RefreshTokenRepository;
	this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
开发者ID:cloudade,项目名称:authorization-server-with-mongodb,代码行数:9,代码来源:MongoTokenStore.java

示例3: MongoTokenStore

import org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator; //导入依赖的package包/类
@Autowired
public MongoTokenStore(final MongoOAuth2AccessTokenRepository mongoOAuth2AccessTokenRepository,
                       final MongoOAuth2RefreshTokenRepository mongoOAuth2RefreshTokenRepository,
                       final AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.mongoOAuth2AccessTokenRepository = mongoOAuth2AccessTokenRepository;
    this.mongoOAuth2RefreshTokenRepository = mongoOAuth2RefreshTokenRepository;
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
开发者ID:caelwinner,项目名称:spring-security-mongo,代码行数:9,代码来源:MongoTokenStore.java

示例4: setAuthenticationKeyGenerator

import org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator; //导入依赖的package包/类
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
	this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
开发者ID:xienjiang,项目名称:session-cloud,代码行数:4,代码来源:CustomTokenStore.java

示例5: setAuthenticationKeyGenerator

import org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator; //导入依赖的package包/类
public void setAuthenticationKeyGenerator(AuthenticationKeyGenerator authenticationKeyGenerator) {
    this.authenticationKeyGenerator = authenticationKeyGenerator;
}
 
开发者ID:KonkerLabs,项目名称:konker-platform,代码行数:4,代码来源:MongoTokenStore.java

示例6: authenticationKeyGenerator

import org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator; //导入依赖的package包/类
@Bean
public AuthenticationKeyGenerator authenticationKeyGenerator() {
    return new DefaultAuthenticationKeyGenerator();
}
 
开发者ID:cloudade,项目名称:authorization-server-with-mongodb,代码行数:5,代码来源:SpringSecurityMongoConfiguration.java


注:本文中的org.springframework.security.oauth2.provider.token.AuthenticationKeyGenerator类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。