Package io.jmix.core.security
Interface SpecificPolicyInfoRegistry
- All Known Implementing Classes:
SpecificPolicyInfoRegistryImpl
public interface SpecificPolicyInfoRegistry
Provides an information about specific policies defined in the application. In order to be returned by the service,
the specific policy must have a corresponding
SpecificOperationAccessContext
. E.g. for the
ui.loginToUi
policy the following class should exist:
public class UiLoginToUiContext extends SpecificOperationAccessContext { public static final String NAME = "ui.loginToUi"; public UiLoginToUiContext() { super(NAME); } }
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Class stores an information about specific security policy that may be used in the application -
Method Summary
Modifier and TypeMethodDescriptionReturns an information about specific policies defined in the application
-
Method Details
-
getSpecificPolicyInfos
List<SpecificPolicyInfoRegistry.SpecificPolicyInfo> getSpecificPolicyInfos()Returns an information about specific policies defined in the application
-