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 Details

    • STCoreFrameworkConfiguration

      public STCoreFrameworkConfiguration()
  • Method Details

    • init

      @PostConstruct public void init() throws IOException
      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

      @Bean public ResourceLocator resourceLocator()
    • resourceChangeNotificationManager

      @Bean public ResourceChangeNotificationManager resourceChangeNotificationManager()
    • taskScheduler

      @Bean public org.springframework.scheduling.TaskScheduler taskScheduler()
    • resourceMetadataManager

      @Bean public ResourceMetadataManager resourceMetadataManager()
    • addViewControllers

      public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
      Specified by:
      addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addFormatters

      public void addFormatters(org.springframework.format.FormatterRegistry registry)
      Specified by:
      addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • stringToResourcePositionConverter

      @Bean public StringToResourcePositionConverter stringToResourcePositionConverter(MetadataRegistryBackend mdr)
    • stServiceContext

      @Bean public STServiceContext stServiceContext()
    • accessControlManager

      @Bean public AccessControlManager accessControlManager()
    • stAuthorizationEvaluator

      @Bean("auth") public STAuthorizationEvaluator stAuthorizationEvaluator()
    • activeUserStore

      @Bean public ActiveUserStore activeUserStore()
      Needed for keeping track of active/online users
      Returns:
    • corsFilter2

      @Bean public CORSFilter corsFilter2()
    • stUserDetailsService

      @Bean public STUserDetailsService stUserDetailsService()
    • authEntryPoint

      @Bean public STAuthenticationEntryPoint authEntryPoint()
    • authSuccessHandler

      @Bean public STAuthenticationSuccessHandler authSuccessHandler()
    • authFailHandler

      @Bean public STAuthenticationFailureHandler authFailHandler()
    • accessDeniedHandler

      @Bean public STAccessDeniedHandler accessDeniedHandler()
    • logoutSuccessHandler

      @Bean public STLogoutSuccessHandler logoutSuccessHandler()
    • bCryptPasswordEncoder

      @Bean public org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder bCryptPasswordEncoder()
    • samlAuthenticationSuccessHandler

      @Bean public SAMLAuthenticationSuccessHandler 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()