Class SecurityProperty

java.lang.Object
best.skn.security.properties.SecurityProperty

@Component @ConfigurationProperties("skn.security.authorize") public class SecurityProperty extends Object
External Security Configuration Property Class

There is a property called 'skn.security.authorize' for externalizing configurations

The sub-properties are:

(1) Exchanges: it's an array of String under 'skn.security.authorize.exchanges'. It holds all the endpoints of the Spring Boot Application where oauth2 login won't be applicable.

Since:
2024-03-16
Version:
1.4.0
Author:
SKN Shukhan
Use Case:
Spring Boot Reactive
Dedicated To:
Logno, Atoshi and My Parents
  • Field Details

    • exchanges

      private String[] exchanges
      An array of String containing the endpoints ignored by OAuth2 login in Security configuration
      Since:
      v1.0.0
  • Constructor Details

    • SecurityProperty

      public SecurityProperty(String[] exchanges)
      Public Constructor with all private properties
      Parameters:
      exchanges - String Array
      Since:
      v1.4.0
    • SecurityProperty

      public SecurityProperty()
      Public Constructor with no argument
      Since:
      v1.4.0
  • Method Details

    • getExchanges

      public String[] getExchanges()
      Getter method for `exchanges` field
      Returns:
      String Array for `exchanges` field
      Since:
      v1.4.0
    • setExchanges

      public void setExchanges(String[] value)
      Setter method for `exchanges` field
      Parameters:
      value - String Array for `exchanges` field
      Since:
      v1.4.0