Class SecurityProperties


  • @ConfigurationProperties("sherlock.security")
    public class SecurityProperties
    extends java.lang.Object
    The security settings to fetch from the application properties file
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Gets the secret key
      void setKey​(java.lang.String key)
      Sets the secret key attribute in the config file
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityProperties

        public SecurityProperties()
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Gets the secret key
        Returns:
        the secret key
      • setKey

        public void setKey​(java.lang.String key)
        Sets the secret key attribute in the config file
        Parameters:
        key - the new security key