File tree Expand file tree Collapse file tree 6 files changed +12
-0
lines changed
core/src/main/java/org/apache/shiro/authz/annotation
event/src/main/java/org/apache/shiro/event Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1818 */
1919package org .apache .shiro .authz .annotation ;
2020
21+ import java .lang .annotation .Documented ;
2122import java .lang .annotation .ElementType ;
2223import java .lang .annotation .Retention ;
2324import java .lang .annotation .RetentionPolicy ;
4243 */
4344@ Target ({ElementType .TYPE , ElementType .METHOD })
4445@ Retention (RetentionPolicy .RUNTIME )
46+ @ Documented
4547public @interface RequiresAuthentication {
4648}
Original file line number Diff line number Diff line change 1818 */
1919package org .apache .shiro .authz .annotation ;
2020
21+ import java .lang .annotation .Documented ;
2122import java .lang .annotation .ElementType ;
2223import java .lang .annotation .Retention ;
2324import java .lang .annotation .RetentionPolicy ;
3940 */
4041@ Target ({ElementType .TYPE , ElementType .METHOD })
4142@ Retention (RetentionPolicy .RUNTIME )
43+ @ Documented
4244public @interface RequiresGuest {
4345}
Original file line number Diff line number Diff line change 1818 */
1919package org .apache .shiro .authz .annotation ;
2020
21+ import java .lang .annotation .Documented ;
2122import java .lang .annotation .ElementType ;
2223import java .lang .annotation .Retention ;
2324import java .lang .annotation .RetentionPolicy ;
4546 */
4647@ Target ({ElementType .TYPE , ElementType .METHOD })
4748@ Retention (RetentionPolicy .RUNTIME )
49+ @ Documented
4850public @interface RequiresPermissions {
4951
5052 /**
Original file line number Diff line number Diff line change 1818 */
1919package org .apache .shiro .authz .annotation ;
2020
21+ import java .lang .annotation .Documented ;
2122import java .lang .annotation .ElementType ;
2223import java .lang .annotation .Retention ;
2324import java .lang .annotation .RetentionPolicy ;
5253 */
5354@ Target ({ElementType .TYPE , ElementType .METHOD })
5455@ Retention (RetentionPolicy .RUNTIME )
56+ @ Documented
5557public @interface RequiresRoles {
5658
5759 /**
Original file line number Diff line number Diff line change 1818 */
1919package org .apache .shiro .authz .annotation ;
2020
21+ import java .lang .annotation .Documented ;
2122import java .lang .annotation .ElementType ;
2223import java .lang .annotation .Retention ;
2324import java .lang .annotation .RetentionPolicy ;
4748 */
4849@ Target ({ElementType .TYPE , ElementType .METHOD })
4950@ Retention (RetentionPolicy .RUNTIME )
51+ @ Documented
5052public @interface RequiresUser {
5153}
Original file line number Diff line number Diff line change 1818 */
1919package org .apache .shiro .event ;
2020
21+ import java .lang .annotation .Documented ;
2122import java .lang .annotation .ElementType ;
2223import java .lang .annotation .Retention ;
2324import java .lang .annotation .RetentionPolicy ;
4142 */
4243@ Retention (value = RetentionPolicy .RUNTIME )
4344@ Target (value = ElementType .METHOD )
45+ @ Documented
4446public @interface Subscribe {
4547}
You can’t perform that action at this time.
0 commit comments