uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.8.5 @ServletSecurity

Organization of this subsection
(1) Description
(2) Attribute

(1) Description

This annotation specifies the Servlet security constraints.

(2) Attribute

The following table lists the @ServletSecurity attributes:

Attribute name Functionality
httpMethodConstraints This attribute specifies the security constraints for each Servlet HTTP method.
value This attribute specifies the default security constraints of the Servlet.

Details of each attribute are as follows:

(a) httpMethodConstraints attributes

Type
HttpMethodConstraint[]

Description
This attribute specifies the security constraints for each Servlet HTTP method.

Default value
{}
(b) value attribute

Type
HttpConstraint

Description
This attribute specifies the default security constraints of Servlet.

Default value
@javax.servlet.annotation.HttpConstraint