Code: Select all
@ServletSecurity(@HttpConstraint(EmptyRoleSemantic.DENY), rolesAllowed = "R1")
Code: Select all
@ServletSecurity(@HttpConstraint(value = EmptyRoleSemantic.DENY, rolesAllowed = "R1"))
Moderators: Site Manager, fjwalraven
Code: Select all
@ServletSecurity(@HttpConstraint(EmptyRoleSemantic.DENY), rolesAllowed = "R1")
Code: Select all
@ServletSecurity(@HttpConstraint(value = EmptyRoleSemantic.DENY, rolesAllowed = "R1"))
(from http://docs.oracle.com/javase/1.5.0/doc ... tions.html).It is permissible to omit the element name and equals sign (=) in a single-element annotation whose element name is value, as shown below:
Code: Select all
value =
Code: Select all
@ServletSecurity(@HttpConstraint(value = EmptyRoleSemantic.DENY, rolesAllowed = "R1"))
Users browsing this forum: No registered users and 21 guests