Class EULAStatus


public class EULAStatus extends LocalMechanism
A class representing a users acceptance of an End User License Agreement.
  • Method Details

    • getLicenseName

      public String getLicenseName()
      Getter for the license name of this EULA.
      Returns:
      The license name.
    • getDateAccepted

      public Date getDateAccepted()
      Getter for the acceptance date/time of this EULA.
      Returns:
      The acceptance date formatted in ISO 8601 Date format.
    • toJson

      public JSONObject toJson()
      Get a JSON formatted representation of this EULAStatus. Example:
       {
           "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:eula",
           "licenseName" : "ExampleEULA",
           "dateAccepted" : "1970-01-01T00:00:00+0000"
       }
       
      Overrides:
      toJson in class LocalMechanism
      Returns:
      A JSONObject representation of this EULAStatus.
      See Also: