Package overit.geocall.rs.annotations
Annotation Interface Authentication
Annotation used to indicate that authentication is required for the annotated element.
This annotation can be applied to methods or classes in Spring
RestController.
Example usage:
@RestController
@Authentication
public class SecureResource {
@GetMapping
public ResponseEntity getSecureResource() {
// Code here
}
}
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] value- Default:
{"QUICK"}
-