This annotation specifies the security constraints of the HTTP method.
Attribute name | Functionality |
---|---|
value | This attribute specifies the HTTP method that applies security constraints. |
emptyRoleSemantic | This attribute specifies the behavior when the role is not specified. |
rolesAllowed | This attribute specifies the list of user names used for authentication. |
transportGuarantee | This attribute specifies the method to communicate between the client and server. |
Details of each attribute are as follows: