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 TypeClassDescriptionclassRestricts access to users with the ADMIN role.classOnly authenticated users may access endpoints.classDenies access to all endpoints.classAllows all users to access every endpoint.classRead endpoints are public; write endpoints require ADMIN role.classAllows configuring roles per CRUD endpoint.classAllows 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 thesecurityPolicyrecord 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 aModelSecurityrecord 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.MethodSpecControllerMethodGenerator.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 thesecurityPolicyrecord 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 aControllerMethodContextrecord class.