Class SecurityConfigurationService

java.lang.Object
com.sodius.oslc.server.security.services.SecurityConfigurationService

@Path("/security/configuration") public class SecurityConfigurationService extends Object
Provides end-points to read and update the security configuration of the connector, which controls the Content Security Policy (CSP) headers applied to OSLC responses.
Since:
2.0.0
  • Constructor Details

    • SecurityConfigurationService

      public SecurityConfigurationService()
  • Method Details

    • getSecurityConfiguration

      @GET @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getSecurityConfiguration()
    • updateSecurityConfiguration

      @PUT @Consumes({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response updateSecurityConfiguration()