Interface PropertiesRealmConfig


public interface PropertiesRealmConfig
A configuration object for a properties resource based realm configuration, LegacyPropertiesSecurityRealm It consists of a users.properties that has the format: user1=password1 user2=password2 and a roles.properties that has the format: user1=role1,role2,...,roleN1 user2=role21,role2,...,roleN2
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether security via the file realm is enabled.
    static String
     
    boolean
    If the properties are stored in plain text.
    The realm name.
    Classpath resource name of properties file containing user to role mappings.
     
    Classpath resource name of properties file containing user to password mappings.
  • Method Details

    • realmName

      @WithDefault("Quarkus") String realmName()
      The realm name. This is used when generating a hashed password
    • enabled

      @WithDefault("false") boolean enabled()
      Determine whether security via the file realm is enabled.
    • plainText

      @WithDefault("false") boolean plainText()
      If the properties are stored in plain text. If this is false (the default) then it is expected that the passwords are of the form HEX( MD5( username ":" realm ":" password ) )
    • users

      @WithDefault("users.properties") String users()
      Classpath resource name of properties file containing user to password mappings. See Users.properties.
    • roles

      @WithDefault("roles.properties") String roles()
      Classpath resource name of properties file containing user to role mappings. See Roles.properties.
    • help

      static String help()
    • toString

      String toString()
      Overrides:
      toString in class Object