Interface MPRealmRuntimeConfig
@ConfigMapping(prefix="quarkus.security.users.embedded")
@ConfigRoot(phase=RUN_TIME)
public interface MPRealmRuntimeConfig
Configuration information used to populate a SimpleMapBackedSecurityRealm
}
-
Method Summary
Modifier and TypeMethodDescriptionDetermine which algorithm to use.booleanIf the properties are stored in plain text.Map<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String,@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> roles()The realm roles user1=role1,role2,...\nuser2=role1,role2,...Map<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String,@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> users()The realm users user1=password\nuser2=password2...
-
Method Details
-
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 ) ) -
algorithm
Determine which algorithm to use.This property is ignored if
plainTextis true. -
users
@ConfigDocDefault("none") Map<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String,@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> users()The realm users user1=password\nuser2=password2... mapping. See Embedded Users. -
roles
@ConfigDocDefault("none") Map<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String,@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> roles()The realm roles user1=role1,role2,...\nuser2=role1,role2,... mapping See Embedded Roles.
-