Example #1
0
 public void setAuthorized(boolean authorized) {
   setStringProperty("AUTHORIZED", Boolean.toString(authorized));
 }
Example #2
0
 public boolean isAuthorized() {
   return Boolean.valueOf(getStringProperty("AUTHORIZED"));
 }
Example #3
0
  /** Whether this device code has been issued. */
  public boolean isIssued() {
    Set<String> issued = getParameter(ISSUED);

    return issued != null && Boolean.parseBoolean(issued.iterator().next());
  }