@EnableConfigurationProperties(value=AuthProperties.class) public class AuthConfiguration extends Object
| Constructor and Description |
|---|
AuthConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.aoju.bus.cache.metric.ExtendCache |
authCache() |
AuthProviderService |
authProviderFactory(AuthProperties properties,
org.aoju.bus.cache.metric.ExtendCache extendCache) |
@Bean public AuthProviderService authProviderFactory(AuthProperties properties, org.aoju.bus.cache.metric.ExtendCache extendCache)
@Bean
@ConditionalOnMissingBean(value=org.aoju.bus.cache.metric.ExtendCache.class)
@ConditionalOnProperty(name="extend.oauth.cache.type",
havingValue="default",
matchIfMissing=true)
public org.aoju.bus.cache.metric.ExtendCache authCache()
Copyright © 2022. All rights reserved.