public interface DeclarativeSecurity
See the QuickStart Guide for more in depth documentation on how declarative security works and how to use it in your application.
See Standalone DataSource Usage
for information
on how to use declarative security in a standalone application.
Requests that fail to pass
Declarative Security checks will return response with special status set
.
StandaloneDataSourceUsage
,
DataSource.requiresAuthentication
,
DataSource.requiresRole
,
DataSource.requires
,
DataSource.creatorOverrides
,
DataSourceField.viewRequiresAuthentication
,
DataSourceField.editRequiresAuthentication
,
DataSourceField.initRequiresAuthentication
,
DataSourceField.updateRequiresAuthentication
,
DataSourceField.viewRequiresRole
,
DataSourceField.editRequiresRole
,
DataSourceField.initRequiresRole
,
DataSourceField.updateRequiresRole
,
DataSourceField.viewRequires
,
DataSourceField.editRequires
,
DataSourceField.initRequires
,
DataSourceField.updateRequires
,
DataSourceField.creatorOverrides
,
OperationBinding.requiresAuthentication
,
OperationBinding.requiresRole
,
OperationBinding.requires
,
OperationBinding.creatorOverrides