Annotation Type DisableSecureSerialization


  • @Experimental("Remains to be determined if this is the best possible API for users to configure security of serialized fields")
    @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface DisableSecureSerialization
    If placed on a method, then all SecureField annotations of the response type will be completely ignored and serialization will proceed as if the annotation did not exist. Placing it on a class, is equivalent of placing it on all JAX-RS methods of the class.