Class SlardarSecurityConfiguration
-
- All Implemented Interfaces:
@Configuration(proxyBeanMethods = false)@ConditionalWingsEnabled()@ConditionalOnClass(value = SecurityConfigurer.class) public class SlardarSecurityConfiguration- Since:
2020-08-10
trydofor
-
-
Constructor Summary
Constructors Constructor Description SlardarSecurityConfiguration()
-
Method Summary
Modifier and Type Method Description DelegatingPasswordEncoderpasswordEncoder(SlardarPasscoderProp prop)#@Async #spring.security.strategy=MODE_INHERITABLETHREADLOCAL #{bcrypt}$2a$10$dXJ3SW6G7P50lGmMkkmwe.20cQQubK3.HZWzG3YB1tlRy.fqvM/BG #{noop}password #{pbkdf2}5d923b44a6d129f3ddf3e3c8d29412723dcbde72445e8ef6bf3b508fbf17fa4ed4d6b99ca763d8dc #{scrypt}$e0801$8bWJaSu2IKSn9Z9kM+TPXfOc/9bdYSrN1oD9qfVThWEwdRTnO7re7Ei+fUZRJ68k9lTyuTeUp4of4g24hHnazw==$OAOec05+bXxvuu/1qZ6NUR+xQYvYv7BeL1QxwRpY5Pc= # strongly recommend Argon2 (preferably Argon2id) for up-to-date systems. # BScrypt is good choice when Argon2 is not availableDefaultPasssaltEncoderpasssaltEncoder(SlardarPasscoderProp prop)HttpSessionEventPublisherhttpSessionEventPublisher()WingsSecBeanInitConfigurerwingsSecBeanInitConfigurer(ApplicationContext context)TerminalContext.ListenerlocaleContextHolderTerminalContextListener()CommandLineRunnerOrderedterminalContextListenerRunner(Map<String, TerminalContext.Listener> listeners)Sync Locale and TimeZone with TerminalContext -
-
Method Detail
-
passwordEncoder
@Bean()@ConditionalWingsEnabled() DelegatingPasswordEncoder passwordEncoder(SlardarPasscoderProp prop)
#@Async #spring.security.strategy=MODE_INHERITABLETHREADLOCAL #{bcrypt}$2a$10$dXJ3SW6G7P50lGmMkkmwe.20cQQubK3.HZWzG3YB1tlRy.fqvM/BG #{noop}password #{pbkdf2}5d923b44a6d129f3ddf3e3c8d29412723dcbde72445e8ef6bf3b508fbf17fa4ed4d6b99ca763d8dc #{scrypt}$e0801$8bWJaSu2IKSn9Z9kM+TPXfOc/9bdYSrN1oD9qfVThWEwdRTnO7re7Ei+fUZRJ68k9lTyuTeUp4of4g24hHnazw==$OAOec05+bXxvuu/1qZ6NUR+xQYvYv7BeL1QxwRpY5Pc= # strongly recommend Argon2 (preferably Argon2id) for up-to-date systems. # BScrypt is good choice when Argon2 is not available- Returns:
PasswordEncoder
-
passsaltEncoder
@Bean()@ConditionalWingsEnabled() DefaultPasssaltEncoder passsaltEncoder(SlardarPasscoderProp prop)
-
httpSessionEventPublisher
@Bean()@ConditionalWingsEnabled() HttpSessionEventPublisher httpSessionEventPublisher()
-
wingsSecBeanInitConfigurer
@Bean()@ConditionalWingsEnabled() WingsSecBeanInitConfigurer wingsSecBeanInitConfigurer(ApplicationContext context)
-
localeContextHolderTerminalContextListener
@Bean()@ConditionalWingsEnabled() TerminalContext.Listener localeContextHolderTerminalContextListener()
-
terminalContextListenerRunner
@Bean()@ConditionalWingsEnabled() CommandLineRunnerOrdered terminalContextListenerRunner(Map<String, TerminalContext.Listener> listeners)
Sync Locale and TimeZone with TerminalContext
-
-
-
-