Skip to content

Consider making some security annotations regular CDI interceptor bindings #90

@mkouba

Description

@mkouba

Currently, annotations like @Authenticated, @PermissionsAllowed and @RunAsUser are not CDI interceptor bindings.

While it allows for more flexible implementation (and implementation-agnostic javadoc), the implementation is usually CDI-based and we have to do weird things to make it work (annotation transformations, InterceptorBindingRegistrar, etc.).

It could be reasonable and practical to make these annotations regular interceptor bindings and possibly explain in the javadoc that they can be used even outside CDI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions