Class STCoreFrameworkConfiguration
java.lang.Object
it.uniroma2.art.semanticturkey.spring.STCoreFrameworkConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@EnableWebSecurity
@EnableMethodSecurity
@ComponentScan({"it.uniroma2.art.semanticturkey.settings","it.uniroma2.art.semanticturkey.config","it.uniroma2.art.semanticturkey.customform","it.uniroma2.art.semanticturkey.customviews","it.uniroma2.art.semanticturkey.extension.extpts"})
public class STCoreFrameworkConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
A @Configuration class for the core framework.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionNeeded for keeping track of active/online usersvoid
addFormatters
(org.springframework.format.FormatterRegistry registry) void
addViewControllers
(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
extensionPointManager
(org.springframework.context.ApplicationContext context) void
init()
it.uniroma2.art.maple.orchestration.impl.MediationFrameworkImpl
pluginManager
(org.springframework.context.ApplicationContext context, ExtensionPointManagerImpl exptMgr, org.springframework.beans.factory.ObjectProvider<jakarta.servlet.MultipartConfigElement> multipartConfigElement) org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository
org.springframework.security.web.SecurityFilterChain
samlFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) stServiceTracker
(org.springframework.context.ApplicationContext applicationContext) org.springframework.scheduling.TaskScheduler
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
STCoreFrameworkConfiguration
public STCoreFrameworkConfiguration()
-
-
Method Details
-
init
- Throws:
IOException
-
stServiceTracker
@Bean public STServiceTracker stServiceTracker(org.springframework.context.ApplicationContext applicationContext) -
extensionPointManager
@Bean public ExtensionPointManagerImpl extensionPointManager(org.springframework.context.ApplicationContext context) -
pluginManager
@Bean @DependsOn("metadataRegistryBackend") public STPluginManager pluginManager(org.springframework.context.ApplicationContext context, ExtensionPointManagerImpl exptMgr, org.springframework.beans.factory.ObjectProvider<jakarta.servlet.MultipartConfigElement> multipartConfigElement) -
mediationFramework
@Bean public it.uniroma2.art.maple.orchestration.impl.MediationFrameworkImpl mediationFramework() -
resourceLocator
-
resourceChangeNotificationManager
-
taskScheduler
@Bean public org.springframework.scheduling.TaskScheduler taskScheduler() -
resourceMetadataManager
-
addViewControllers
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) - Specified by:
addViewControllers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry) - Specified by:
addFormatters
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
stringToResourcePositionConverter
@Bean public StringToResourcePositionConverter stringToResourcePositionConverter(MetadataRegistryBackend mdr) -
stServiceContext
-
accessControlManager
-
stAuthorizationEvaluator
-
activeUserStore
Needed for keeping track of active/online users- Returns:
-
corsFilter2
-
stUserDetailsService
-
authEntryPoint
-
authSuccessHandler
-
authFailHandler
-
accessDeniedHandler
-
logoutSuccessHandler
-
bCryptPasswordEncoder
@Bean public org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder bCryptPasswordEncoder() -
samlAuthenticationSuccessHandler
-
samlFilterChain
@Bean public org.springframework.security.web.SecurityFilterChain samlFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
relyingPartyRegistrations
@Bean public org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository relyingPartyRegistrations()
-