Class NeoWebappProperty

java.lang.Object
org.operaton.bpm.spring.boot.starter.property.NeoWebappProperty

public class NeoWebappProperty extends Object
Configuration for the new web apps (webapps-neo), a single-page application served as an embedded Spring application.

Bound under operaton.bpm.webapp.neo.*. It is disabled by default at the starter level so existing embedded-starter users are not affected; the Operaton Run distribution enables it explicitly.

  • Field Details

    • DEFAULT_APP_PATH

      public static final String DEFAULT_APP_PATH
      See Also:
    • AUTH_MODE_AUTO

      public static final String AUTH_MODE_AUTO
      Resolve the authentication mode from the application configuration.
      See Also:
    • AUTH_MODE_BASIC

      public static final String AUTH_MODE_BASIC
      Username and password against the REST API.
      See Also:
    • AUTH_MODE_OAUTH2

      public static final String AUTH_MODE_OAUTH2
      Server-side session established by the Spring Security OAuth2 login flow.
      See Also:
    • enabled

      protected boolean enabled
      Enables the embedded webapps-neo auto configuration. Disabled by default; the Operaton Run distribution turns it on.
    • applicationPath

      protected String applicationPath
      Context path the SPA is served from. Defaults to the root path ("").
    • webjarClasspath

      protected String webjarClasspath
      Classpath location the webapps-neo assets are unpacked to. Kept separate from the legacy webapp classpath so both can coexist.
    • securityConfigFile

      protected String securityConfigFile
    • indexRedirectEnabled

      protected boolean indexRedirectEnabled
    • authMode

      protected String authMode
      Authentication mode the SPA is told to use, one of auto, basic or oauth2. With auto (the default) the mode is derived from the application configuration: oauth2 when Spring Security OAuth2 client registrations are present, basic otherwise. Set it explicitly to override that detection.
    • pluginsUrl

      protected String pluginsUrl
      URL of the runtime plugin manifest handed to the SPA. Empty means the SPA falls back to /plugins/plugins.json on its own origin.
  • Constructor Details

    • NeoWebappProperty

      public NeoWebappProperty()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getApplicationPath

      public String getApplicationPath()
    • setApplicationPath

      public void setApplicationPath(String applicationPath)
    • sanitizeApplicationPath

      protected String sanitizeApplicationPath(String applicationPath)
    • getWebjarClasspath

      public String getWebjarClasspath()
    • setWebjarClasspath

      public void setWebjarClasspath(String webjarClasspath)
    • getSecurityConfigFile

      public String getSecurityConfigFile()
    • setSecurityConfigFile

      public void setSecurityConfigFile(String securityConfigFile)
    • isIndexRedirectEnabled

      public boolean isIndexRedirectEnabled()
    • setIndexRedirectEnabled

      public void setIndexRedirectEnabled(boolean indexRedirectEnabled)
    • getAuthMode

      public String getAuthMode()
    • setAuthMode

      public void setAuthMode(String authMode)
    • getPluginsUrl

      public String getPluginsUrl()
    • setPluginsUrl

      public void setPluginsUrl(String pluginsUrl)
    • toString

      public String toString()
      Overrides:
      toString in class Object