Interface SecurityTransformer

All Known Implementing Classes:
SecurityTransformerBuildItem.SecurityTransformerImpl

public sealed interface SecurityTransformer permits SecurityTransformerBuildItem.SecurityTransformerImpl
Helper class that allows to determine whether the annotation target has security annotations and which ones.
  • Method Details

    • getAnnotations

      Collection<org.jboss.jandex.AnnotationInstance> getAnnotations(org.jboss.jandex.DotName securityAnnotationName)
    • getAnnotationsWithRepeatable

      Collection<org.jboss.jandex.AnnotationInstance> getAnnotationsWithRepeatable(org.jboss.jandex.DotName securityAnnotationName)
    • hasSecurityAnnotation

      boolean hasSecurityAnnotation(org.jboss.jandex.AnnotationTarget annotationTarget, SecurityTransformer.AuthorizationType... authorizationTypes)
    • isSecurityAnnotation

      boolean isSecurityAnnotation(org.jboss.jandex.AnnotationInstance annotationInstance, SecurityTransformer.AuthorizationType... authorizationTypes)
    • isSecurityAnnotation

      boolean isSecurityAnnotation(Collection<org.jboss.jandex.AnnotationInstance> annotationInstances)
    • findFirstSecurityAnnotation

      Optional<org.jboss.jandex.AnnotationInstance> findFirstSecurityAnnotation(Collection<org.jboss.jandex.AnnotationInstance> annotationInstances)
    • findFirstSecurityAnnotation

      Optional<org.jboss.jandex.AnnotationInstance> findFirstSecurityAnnotation(org.jboss.jandex.AnnotationTarget annotationTarget, SecurityTransformer.AuthorizationType... authorizationTypes)
    • getInterfaceTransformations

      Collection<org.jboss.jandex.AnnotationTransformation> getInterfaceTransformations()
    • getSecurityAnnotationNames

      Collection<org.jboss.jandex.DotName> getSecurityAnnotationNames(SecurityTransformer.AuthorizationType... authorizationTypes)