Package io.micronaut.security.annotation
Class RolesAllowedAnnotationMapper
- java.lang.Object
-
- io.micronaut.security.annotation.RolesAllowedAnnotationMapper
-
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<javax.annotation.security.RolesAllowed>
,io.micronaut.inject.annotation.TypedAnnotationMapper<javax.annotation.security.RolesAllowed>
@Internal public class RolesAllowedAnnotationMapper extends java.lang.Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<javax.annotation.security.RolesAllowed>
Allows using theRolesAllowed
annotation in Micronaut.- Since:
- 1.0
- Author:
- Sergio del Amo
-
-
Constructor Summary
Constructors Constructor Description RolesAllowedAnnotationMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<javax.annotation.security.RolesAllowed>
annotationType()
java.util.List<io.micronaut.core.annotation.AnnotationValue<?>>
map(io.micronaut.core.annotation.AnnotationValue<javax.annotation.security.RolesAllowed> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
-
-
Method Detail
-
annotationType
public java.lang.Class<javax.annotation.security.RolesAllowed> annotationType()
- Specified by:
annotationType
in interfaceio.micronaut.inject.annotation.TypedAnnotationMapper<javax.annotation.security.RolesAllowed>
-
map
public java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<javax.annotation.security.RolesAllowed> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
- Specified by:
map
in interfaceio.micronaut.inject.annotation.AnnotationMapper<javax.annotation.security.RolesAllowed>
-
-