Class ServletConfiguration

java.lang.Object
org.frankframework.lifecycle.servlets.ServletConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware

public class ServletConfiguration extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware
Yaml config example:
 servlets:
   IAF-API:
     transportGuarantee: NONE
     securityRoles:
       - IbisObserver
       - IbisDataAdmin
       - IbisAdmin
       - IbisTester
     urlMapping: iaf/api/*
     loadOnStartup: 0
     authenticator: myAuthenticatorID
  • Constructor Details

    • ServletConfiguration

      public ServletConfiguration()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • setSecurityRoles

      public void setSecurityRoles(String[] accessGrantingRoles)
    • getSecurityRoles

      public @NonNull List<String> getSecurityRoles()
    • setName

      public void setName(String servletName)
    • fromServlet

      public void fromServlet(DynamicRegistration.Servlet servlet)
      Convenience method to easily register a dynamic Frank servlet.
    • setServlet

      public void setServlet(jakarta.servlet.Servlet servlet)
    • addInitParameter

      public void addInitParameter(String name, String value)
    • isAuthenticationEnabled

      public boolean isAuthenticationEnabled()
    • loadProperties

      public void loadProperties()
      Overwrites servlet defaults with properties.
    • setUrlMapping

      public void setUrlMapping(String urlMappingArray)
    • toString

      public String toString()
      Overrides:
      toString in class Object