Files
maptology/api/src
handte 0fd362e3bf
lbs-gitea/maptology/master This commit looks good
Replace role enum with constants, remove custom annotations.
Replace role enumeration with constant string values and static methods
to list the roles.
Removed custom annotation in favor of javax.security annotations.
Changed custom access control interceptor to handle new annoations
(note: automating this with Resteasy's own filter would create tons of
xml configuration)
Replace all access control annotations in rest package with
javax.security annotations.
IMPORTANT: Rest methods without security requirements MUST be annotated
with PermitAll to work (this is consistent with EJB's use of the
annotation but it is a behavioral change). If something is not working
search through the log file for SEVERE warnings that are generated by
the access control interceptor if a misconfigured endpoint is detected.
2017-12-14 12:31:06 +01:00
..