Uses of Interface
nl.datasteel.crudcraft.annotations.security.CrudSecurityPolicy
Packages that use CrudSecurityPolicy
Package
Description
-
Uses of CrudSecurityPolicy in nl.datasteel.crudcraft.annotations.security.policy
Classes in nl.datasteel.crudcraft.annotations.security.policy that implement CrudSecurityPolicyModifier and TypeClassDescriptionclass
Restricts access to users with the ADMIN role.class
Only authenticated users may access endpoints.class
Denies access to all endpoints.class
Allows all users to access every endpoint.class
Read endpoints are public; write endpoints require ADMIN role.class
Allows configuring roles per CRUD endpoint.class
Allows modification endpoints but denies read access. -
Uses of CrudSecurityPolicy in nl.datasteel.crudcraft.codegen.descriptor.model
Methods in nl.datasteel.crudcraft.codegen.descriptor.model that return types with arguments of type CrudSecurityPolicyModifier and TypeMethodDescriptionClass
<? extends CrudSecurityPolicy> ModelDescriptor.getSecurityPolicy()
Returns the class that implements the security policy for this model. -
Uses of CrudSecurityPolicy in nl.datasteel.crudcraft.codegen.descriptor.model.part
Methods in nl.datasteel.crudcraft.codegen.descriptor.model.part that return types with arguments of type CrudSecurityPolicyModifier and TypeMethodDescriptionClass
<? extends CrudSecurityPolicy> ModelSecurity.getSecurityPolicy()
Returns the class that handles security policies for this model.Class
<? extends CrudSecurityPolicy> ModelSecurity.securityPolicy()
Returns the value of thesecurityPolicy
record component.Constructor parameters in nl.datasteel.crudcraft.codegen.descriptor.model.part with type arguments of type CrudSecurityPolicyModifierConstructorDescriptionModelSecurity
(boolean secure, Class<? extends CrudSecurityPolicy> securityPolicy, List<String> rowSecurityHandlers) Creates an instance of aModelSecurity
record class. -
Uses of CrudSecurityPolicy in nl.datasteel.crudcraft.codegen.writer.controller
Methods in nl.datasteel.crudcraft.codegen.writer.controller with parameters of type CrudSecurityPolicyModifier and TypeMethodDescriptioncom.squareup.javapoet.MethodSpec
ControllerMethodGenerator.generate
(EndpointSpec spec, ModelDescriptor modelDescriptor, CrudSecurityPolicy securityPolicy) Generates a method for the given endpoint specification. -
Uses of CrudSecurityPolicy in nl.datasteel.crudcraft.codegen.writer.controller.method
Methods in nl.datasteel.crudcraft.codegen.writer.controller.method that return CrudSecurityPolicyModifier and TypeMethodDescriptionControllerMethodContext.securityPolicy()
Returns the value of thesecurityPolicy
record component.Constructors in nl.datasteel.crudcraft.codegen.writer.controller.method with parameters of type CrudSecurityPolicyModifierConstructorDescriptionControllerMethodContext
(com.squareup.javapoet.MethodSpec.Builder builder, ModelDescriptor model, EndpointSpec spec, CrudSecurityPolicy securityPolicy) Creates an instance of aControllerMethodContext
record class.