maxkey-authentications

This commit is contained in:
MaxKey
2021-02-08 21:11:46 +08:00
parent c803c9a854
commit d33bbedf40
43 changed files with 66 additions and 21 deletions

View File

@@ -61,6 +61,7 @@ jib {
dependencies {
compile project(":maxkey-core")
compile project(":maxkey-authentications:maxkey-authentication-captcha")
compile project(":maxkey-persistence")
compile project(":maxkey-protocols:maxkey-protocol-oauth-2.0")
compile project(":maxkey-protocols:maxkey-protocol-saml-2.0")

View File

@@ -48,6 +48,8 @@ public class MaxKeyMgtMvcConfig implements WebMvcConfigurer {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
_logger.debug("addResourceHandlers");
_logger.debug("add statics");
registry.addResourceHandler("/static/**")
.addResourceLocations("classpath:/static/");
@@ -65,7 +67,7 @@ public class MaxKeyMgtMvcConfig implements WebMvcConfigurer {
registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
_logger.debug("add addResourceHandler");
_logger.debug("addResourceHandler finished .");
}
@Override

View File

@@ -1,9 +0,0 @@
kaptcha.image.width=80
kaptcha.image.height=25
kaptcha.border=no
kaptcha.obscurificator.impl=com.google.code.kaptcha.impl.ShadowGimpy
kaptcha.textproducer.font.size=23
kaptcha.textproducer.char.string=0123456789
kaptcha.textproducer.char.length=4
kaptcha.noise.impl=com.google.code.kaptcha.impl.NoNoise
#kaptcha.noise.color=white