Search Results

Search found 2 results on 1 pages for 'user530846'.

Page 1/1 | 1 

  • Generate a JasperReport for a specific user

    - by user530846
    I'm looking at using the JasperReport Web Services to create user specific reports. As opposed to getting a user to supply the name of the user to use for the query (and therefore expose a risk of users viewing each others data), I'd like within JasperReport to pull out their identity from their (Basic) authentication details from the web service run report call and then use their user name as a query parameter when running the report. Is there any documentation or examples on how this can be achieved?

    Read the article

  • JSONDeserializer.use doesn't convert correctly

    - by user530846
    I'm trying to use flexjson to convert the following json string into a java object: {"inboundDataNotification": { "callbackData": "12345", "inboundData": { "message": "Hello World", "messageId": "mes1234" } }} Using the following method: import flexjson.JSONDeserializer; @RooJavaBean @RooToString @RooJson(fromJsonArrayMethod="", toJsonArrayMethod="", toJsonMethod="") public class InboundData { private String messageId; private String message; public static InboundSMSMessage fromJsonToInboundSMSMessage(String json) { return new JSONDeserializer<InboundSMSMessage>().use(null, InboundSMSMessage.class).deserialize(json); } } All fields are null after this method is invoked. Any ideas what to change here?

    Read the article

1