From 99b4abd68b2965f141bf2dfe16d2839b6b6dd1b9 Mon Sep 17 00:00:00 2001 From: bhuism Date: Tue, 16 Jun 2020 23:37:50 +0200 Subject: [PATCH] remove spring-security remove guave --- .../META-INF/native-image/proxy-config.json | 1 - .../META-INF/native-image/reflect-config.json | 486 ------------------ 2 files changed, 487 deletions(-) diff --git a/src/main/resources/META-INF/native-image/proxy-config.json b/src/main/resources/META-INF/native-image/proxy-config.json index ed7b45a..bd59651 100644 --- a/src/main/resources/META-INF/native-image/proxy-config.json +++ b/src/main/resources/META-INF/native-image/proxy-config.json @@ -1,6 +1,5 @@ [ ["org.springframework.boot.context.properties.ConfigurationProperties","org.springframework.core.annotation.SynthesizedAnnotation"], - ["org.springframework.security.config.annotation.authentication.configuration.EnableGlobalAuthentication","org.springframework.core.annotation.SynthesizedAnnotation"], ["org.springframework.web.bind.annotation.PathVariable","org.springframework.core.annotation.SynthesizedAnnotation"], ["org.springframework.web.bind.annotation.RequestMapping","org.springframework.core.annotation.SynthesizedAnnotation"], ["org.springframework.web.bind.annotation.RequestParam","org.springframework.core.annotation.SynthesizedAnnotation"] diff --git a/src/main/resources/META-INF/native-image/reflect-config.json b/src/main/resources/META-INF/native-image/reflect-config.json index 915795b..4f926e6 100644 --- a/src/main/resources/META-INF/native-image/reflect-config.json +++ b/src/main/resources/META-INF/native-image/reflect-config.json @@ -2240,492 +2240,6 @@ { "name":"org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler" }, -{ - "name":"org.springframework.security.access.AccessDecisionManager", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.access.expression.AbstractSecurityExpressionHandler", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"createEvaluationContext","parameterTypes":["org.springframework.security.core.Authentication","java.lang.Object"] }, - {"name":"getExpressionParser","parameterTypes":[] }, - {"name":"setApplicationContext","parameterTypes":["org.springframework.context.ApplicationContext"] }, - {"name":"setExpressionParser","parameterTypes":["org.springframework.expression.ExpressionParser"] }, - {"name":"setPermissionEvaluator","parameterTypes":["org.springframework.security.access.PermissionEvaluator"] }, - {"name":"setRoleHierarchy","parameterTypes":["org.springframework.security.access.hierarchicalroles.RoleHierarchy"] } - ] -}, -{ - "name":"org.springframework.security.access.expression.SecurityExpressionHandler", - "allPublicMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.access.intercept.AbstractSecurityInterceptor", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"afterPropertiesSet","parameterTypes":[] }, - {"name":"getAccessDecisionManager","parameterTypes":[] }, - {"name":"getAfterInvocationManager","parameterTypes":[] }, - {"name":"getAuthenticationManager","parameterTypes":[] }, - {"name":"getRunAsManager","parameterTypes":[] }, - {"name":"isAlwaysReauthenticate","parameterTypes":[] }, - {"name":"isRejectPublicInvocations","parameterTypes":[] }, - {"name":"isValidateConfigAttributes","parameterTypes":[] }, - {"name":"setAccessDecisionManager","parameterTypes":["org.springframework.security.access.AccessDecisionManager"] }, - {"name":"setAfterInvocationManager","parameterTypes":["org.springframework.security.access.intercept.AfterInvocationManager"] }, - {"name":"setAlwaysReauthenticate","parameterTypes":["boolean"] }, - {"name":"setApplicationEventPublisher","parameterTypes":["org.springframework.context.ApplicationEventPublisher"] }, - {"name":"setAuthenticationManager","parameterTypes":["org.springframework.security.authentication.AuthenticationManager"] }, - {"name":"setMessageSource","parameterTypes":["org.springframework.context.MessageSource"] }, - {"name":"setPublishAuthorizationSuccess","parameterTypes":["boolean"] }, - {"name":"setRejectPublicInvocations","parameterTypes":["boolean"] }, - {"name":"setRunAsManager","parameterTypes":["org.springframework.security.access.intercept.RunAsManager"] }, - {"name":"setValidateConfigAttributes","parameterTypes":["boolean"] } - ] -}, -{ - "name":"org.springframework.security.access.vote.AbstractAccessDecisionManager", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"afterPropertiesSet","parameterTypes":[] }, - {"name":"getDecisionVoters","parameterTypes":[] }, - {"name":"isAllowIfAllAbstainDecisions","parameterTypes":[] }, - {"name":"setAllowIfAllAbstainDecisions","parameterTypes":["boolean"] }, - {"name":"setMessageSource","parameterTypes":["org.springframework.context.MessageSource"] }, - {"name":"supports","parameterTypes":["java.lang.Class"] }, - {"name":"supports","parameterTypes":["org.springframework.security.access.ConfigAttribute"] } - ] -}, -{ - "name":"org.springframework.security.access.vote.AffirmativeBased", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.authentication.AnonymousAuthenticationProvider", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.authentication.AuthenticationEventPublisher", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.authentication.AuthenticationManager", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.authentication.AuthenticationProvider", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.authentication.DefaultAuthenticationEventPublisher", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.authentication.ProviderManager", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.authentication.ReactiveAuthenticationManager" -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureCredentialsExpiredEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureDisabledEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureExpiredEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureLockedEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureProviderNotFoundEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureProxyUntrustedEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.authentication.event.AuthenticationFailureServiceExceptionEvent", - "methods":[{"name":"","parameterTypes":["org.springframework.security.core.Authentication","org.springframework.security.core.AuthenticationException"] }] -}, -{ - "name":"org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"apply","parameterTypes":["org.springframework.security.config.annotation.SecurityConfigurer"] }, - {"name":"apply","parameterTypes":["org.springframework.security.config.annotation.SecurityConfigurerAdapter"] }, - {"name":"getConfigurer","parameterTypes":["java.lang.Class"] }, - {"name":"getConfigurers","parameterTypes":["java.lang.Class"] }, - {"name":"getOrBuild","parameterTypes":[] }, - {"name":"getSharedObject","parameterTypes":["java.lang.Class"] }, - {"name":"getSharedObjects","parameterTypes":[] }, - {"name":"objectPostProcessor","parameterTypes":["org.springframework.security.config.annotation.ObjectPostProcessor"] }, - {"name":"removeConfigurer","parameterTypes":["java.lang.Class"] }, - {"name":"removeConfigurers","parameterTypes":["java.lang.Class"] }, - {"name":"setSharedObject","parameterTypes":["java.lang.Class","java.lang.Object"] } - ] -}, -{ - "name":"org.springframework.security.config.annotation.AbstractSecurityBuilder", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"build","parameterTypes":[] }, - {"name":"getObject","parameterTypes":[] } - ] -}, -{ - "name":"org.springframework.security.config.annotation.ObjectPostProcessor", - "allPublicMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.SecurityBuilder", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.SecurityConfigurer", - "allDeclaredMethods":true, - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.authentication.ProviderManagerBuilder", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true, - "methods":[ - {"name":"authenticationEventPublisher","parameterTypes":["org.springframework.security.authentication.AuthenticationEventPublisher"] }, - {"name":"authenticationProvider","parameterTypes":["org.springframework.security.authentication.AuthenticationProvider"] }, - {"name":"eraseCredentials","parameterTypes":["boolean"] }, - {"name":"getDefaultUserDetailsService","parameterTypes":[] }, - {"name":"isConfigured","parameterTypes":[] }, - {"name":"ldapAuthentication","parameterTypes":[] }, - {"name":"parentAuthenticationManager","parameterTypes":["org.springframework.security.authentication.AuthenticationManager"] } - ] -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allPublicMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration$AuthenticationManagerDelegator", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration$DefaultPasswordEncoderAuthenticationManagerBuilder", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"inMemoryAuthentication","parameterTypes":[] }, - {"name":"jdbcAuthentication","parameterTypes":[] }, - {"name":"userDetailsService","parameterTypes":["org.springframework.security.core.userdetails.UserDetailsService"] } - ] -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration$EnableGlobalAuthenticationAutowiredConfigurer", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[{"name":"init","parameterTypes":["org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder"] }] -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration$LazyPasswordEncoder", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.EnableGlobalAuthentication", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.GlobalAuthenticationConfigurerAdapter", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true, - "methods":[{"name":"configure","parameterTypes":["org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder"] }] -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.InitializeAuthenticationProviderBeanManagerConfigurer", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true, - "methods":[{"name":"init","parameterTypes":["org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder"] }] -}, -{ - "name":"org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true, - "methods":[{"name":"init","parameterTypes":["org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder"] }] -}, -{ - "name":"org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.web.WebSecurityConfigurer", - "allDeclaredMethods":true, - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.builders.WebSecurity", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.AutowiredWebSecurityConfigurersIgnoreParents", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allPublicMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.EnableWebSecurity", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.OAuth2ImportSelector", - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.SpringWebMvcImportSelector", - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true, - "methods":[{"name":"addArgumentResolvers","parameterTypes":["java.util.List"] }] -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allPublicMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$AnnotationAwareOrderComparator", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"authenticationManagerBean","parameterTypes":[] }, - {"name":"configure","parameterTypes":["org.springframework.security.config.annotation.SecurityBuilder"] }, - {"name":"configure","parameterTypes":["org.springframework.security.config.annotation.web.builders.WebSecurity"] }, - {"name":"init","parameterTypes":["org.springframework.security.config.annotation.SecurityBuilder"] }, - {"name":"init","parameterTypes":["org.springframework.security.config.annotation.web.builders.WebSecurity"] }, - {"name":"setApplicationContext","parameterTypes":["org.springframework.context.ApplicationContext"] }, - {"name":"setAuthenticationConfiguration","parameterTypes":["org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration"] }, - {"name":"setContentNegotationStrategy","parameterTypes":["org.springframework.web.accept.ContentNegotiationStrategy"] }, - {"name":"setObjectPostProcessor","parameterTypes":["org.springframework.security.config.annotation.ObjectPostProcessor"] }, - {"name":"setTrustResolver","parameterTypes":["org.springframework.security.authentication.AuthenticationTrustResolver"] }, - {"name":"userDetailsServiceBean","parameterTypes":[] } - ] -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$AuthenticationManagerDelegator", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$DefaultPasswordEncoderAuthenticationManagerBuilder", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$LazyPasswordEncoder", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$UserDetailsServiceDelegator", - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity" -}, -{ - "name":"org.springframework.security.config.http.SessionCreationPolicy" -}, -{ - "name":"org.springframework.security.context.DelegatingApplicationListener", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.core.userdetails.UserDetailsPasswordService", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.core.userdetails.UserDetailsService", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.crypto.password.PasswordEncoder", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.provisioning.InMemoryUserDetailsManager", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.provisioning.UserDetailsManager", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.web.FilterChainProxy", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[{"name":"afterPropertiesSet","parameterTypes":[] }] -}, -{ - "name":"org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.access.ExceptionTranslationFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[{"name":"afterPropertiesSet","parameterTypes":[] }] -}, -{ - "name":"org.springframework.security.web.access.WebInvocationPrivilegeEvaluator", - "allPublicMethods":true, - "allDeclaredConstructors":true -}, -{ - "name":"org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.access.expression.WebSecurityExpressionRoot", - "allPublicFields":true, - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.web.access.intercept.FilterSecurityInterceptor", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"destroy","parameterTypes":[] }, - {"name":"getSecureObjectClass","parameterTypes":[] }, - {"name":"init","parameterTypes":["javax.servlet.FilterConfig"] }, - {"name":"obtainSecurityMetadataSource","parameterTypes":[] } - ] -}, -{ - "name":"org.springframework.security.web.authentication.logout.LogoutFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.authentication.logout.LogoutHandler", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.web.authentication.logout.LogoutSuccessEventPublishingLogoutHandler", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.authentication.session.AbstractSessionFixationProtectionStrategy", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.authentication.session.ChangeSessionIdAuthenticationStrategy", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[ - {"name":"onAuthentication","parameterTypes":["org.springframework.security.core.Authentication","javax.servlet.http.HttpServletRequest","javax.servlet.http.HttpServletResponse"] }, - {"name":"setAlwaysCreateSession","parameterTypes":["boolean"] }, - {"name":"setApplicationEventPublisher","parameterTypes":["org.springframework.context.ApplicationEventPublisher"] } - ] -}, -{ - "name":"org.springframework.security.web.authentication.session.CompositeSessionAuthenticationStrategy", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.authentication.session.SessionAuthenticationStrategy", - "allPublicMethods":true -}, -{ - "name":"org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer" -}, -{ - "name":"org.springframework.security.web.context.SecurityContextPersistenceFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.header.HeaderWriterFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.savedrequest.RequestCacheAwareFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.servlet.support.csrf.CsrfRequestDataValueProcessor", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, -{ - "name":"org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true, - "methods":[{"name":"afterPropertiesSet","parameterTypes":[] }] -}, -{ - "name":"org.springframework.security.web.session.SessionManagementFilter", - "allDeclaredFields":true, - "allDeclaredMethods":true -}, { "name":"org.springframework.stereotype.Component", "allDeclaredMethods":true