| .. | .. |
|---|
| 10 | 10 | @Retention(RetentionPolicy.RUNTIME) |
|---|
| 11 | 11 | @Target(ElementType.METHOD) |
|---|
| 12 | 12 | public @interface Securable { |
|---|
| 13 | | - /** |
|---|
| 14 | | - * Name of header parameter with the auth token to validate |
|---|
| 15 | | - */ |
|---|
| 16 | | - String header() default TokenHelper.TOKEN_HEADER_PÀRAM; |
|---|
| 13 | + /** |
|---|
| 14 | + * Name of header parameter with the auth token to validate |
|---|
| 15 | + */ |
|---|
| 16 | + String header() default TokenHelper.TOKEN_HEADER_PÀRAM; |
|---|
| 17 | 17 | |
|---|
| 18 | | - /** |
|---|
| 19 | | - * Bit mask with the rol or roles necessary to access the method |
|---|
| 20 | | - */ |
|---|
| 21 | | - int roles() default 0; |
|---|
| 18 | + /** |
|---|
| 19 | + * Bit mask with the rol or roles necessary to access the method |
|---|
| 20 | + */ |
|---|
| 21 | + int roles() default 0; |
|---|
| 22 | 22 | } |
|---|