Package io.quarkus.security.jpa
Annotation Type Password
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) @Documented public @interface Password
Indicates that this field or property should be used as a source of password for security. Only supports the
String
type.Defaults to considering the password as hashed with bcrypt in the Modular Crypt Format.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends PasswordProvider>
provider
Sets a custom password provider when the type isPasswordType.CUSTOM
PasswordType
value
Sets the password storage type.
-
-
-
Element Detail
-
value
PasswordType value
Sets the password storage type. defaults toPasswordType.MCF
.- Default:
- io.quarkus.security.jpa.PasswordType.MCF
-
-
-
provider
Class<? extends PasswordProvider> provider
Sets a custom password provider when the type isPasswordType.CUSTOM
- Default:
- io.quarkus.security.jpa.PasswordProvider.class
-
-