Class SecurityCorsProperties

java.lang.Object
com.totvs.tjf.autoconfigure.SecurityCorsProperties
Direct Known Subclasses:
SecurityCorsPropertiesDeprecated

@Configuration @ConfigurationProperties(prefix="tjf.security.cors") @ConditionalOnProperty(prefix="tjf.security.cors", name="enabled") public class SecurityCorsProperties extends Object
Security access properties.
  • Constructor Details

    • SecurityCorsProperties

      public SecurityCorsProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      the enabled
    • setEnabled

      @Generated public void setEnabled(boolean enabled)
      Parameters:
      enabled - the enabled to set
    • getAllowedOrigins

      public List<String> getAllowedOrigins()
      Returns:
      the allowedOrigins
    • setAllowedOrigins

      @Generated public void setAllowedOrigins(List<String> allowedOrigins)
      Parameters:
      allowedOrigins - the allowedOrigins to set
    • getAllowedMethods

      public List<String> getAllowedMethods()
      Returns:
      the allowedMethods
    • setAllowedMethods

      @Generated public void setAllowedMethods(List<String> allowedMethods)
      Parameters:
      allowedMethods - the allowedMethods to set
    • getAllowedHeaders

      public List<String> getAllowedHeaders()
      Returns:
      the allowedHeaders
    • setAllowedHeaders

      @Generated public void setAllowedHeaders(List<String> allowedHeaders)
      Parameters:
      allowedHeaders - the allowedHeaders to set
    • getExposedHeaders

      public List<String> getExposedHeaders()
      Returns:
      the exposedHeaders
    • setExposedHeaders

      @Generated public void setExposedHeaders(List<String> exposedHeaders)
      Parameters:
      exposedHeaders - the exposedHeaders to set
    • isAllowCredentials

      public boolean isAllowCredentials()
      Returns:
      the allowCredentials
    • setAllowCredentials

      @Generated public void setAllowCredentials(boolean allowCredentials)
      Parameters:
      allowCredentials - the allowCredentials to set
    • getPath

      public String getPath()
      Returns:
      the path
    • setPath

      @Generated public void setPath(String path)
      Parameters:
      path - the path to set