Roberto Sánchez
2014-09-19 8d5386be38db25a2a41c3bf6c876adee21ca26cc
securis/src/main/java/net/curisit/securis/security/Securable.java
....@@ -10,13 +10,13 @@
1010 @Retention(RetentionPolicy.RUNTIME)
1111 @Target(ElementType.METHOD)
1212 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;
1717
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;
2222 }