Class JpaSecurityDefinition
java.lang.Object
io.quarkus.security.jpa.common.deployment.JpaSecurityDefinition
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.jboss.jandex.ClassInfo -
Constructor Summary
ConstructorsConstructorDescriptionJpaSecurityDefinition(org.jboss.jandex.Index index, org.jboss.jandex.ClassInfo annotatedClass, boolean isPanache, org.jboss.jandex.AnnotationTarget usernameFieldOrMethod, org.jboss.jandex.AnnotationTarget passwordFieldOrMethod, org.jboss.jandex.AnnotationTarget rolesFieldOrMethod) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jandex.AnnotationValuegetFieldOrMethod(org.jboss.jandex.Index index, org.jboss.jandex.ClassInfo annotatedClass, org.jboss.jandex.AnnotationTarget annotatedFieldOrMethod, boolean isPanache) booleanhaveRolesAnnotation(org.jboss.jandex.DotName... annotations) org.jboss.jandex.AnnotationValue
-
Field Details
-
username
-
password
-
roles
-
annotatedClass
public final org.jboss.jandex.ClassInfo annotatedClass
-
-
Constructor Details
-
JpaSecurityDefinition
public JpaSecurityDefinition(org.jboss.jandex.Index index, org.jboss.jandex.ClassInfo annotatedClass, boolean isPanache, org.jboss.jandex.AnnotationTarget usernameFieldOrMethod, org.jboss.jandex.AnnotationTarget passwordFieldOrMethod, org.jboss.jandex.AnnotationTarget rolesFieldOrMethod)
-
-
Method Details
-
haveRolesAnnotation
public boolean haveRolesAnnotation(org.jboss.jandex.DotName... annotations) -
getFieldOrMethod
public static JpaSecurityDefinition.FieldOrMethod getFieldOrMethod(org.jboss.jandex.Index index, org.jboss.jandex.ClassInfo annotatedClass, org.jboss.jandex.AnnotationTarget annotatedFieldOrMethod, boolean isPanache) -
passwordType
public org.jboss.jandex.AnnotationValue passwordType() -
customPasswordProvider
public org.jboss.jandex.AnnotationValue customPasswordProvider()
-