code: public void setAuthorized( boolean authorized ) {
  
          if( isAuthorized() != authorized ) {
  
              this.authorized = authorized;
  
              // We need to apply a change to our enabled state depending on our
              // new authorized state.
              if( authorized ) {
                  // install the last requested enabled state
                  setEnabled(maskedEnabledState);
              } else {
                  // Record the current enabled state and then disable
                  maskedEnabledState = isEnabled();
                  internalSetEnabled(false);
              }
          }
      }
docs: Set the authorized state.  Setting authorized to false will override any call
  to {@link #setEnabled(boolean)}.  As long as this object is unauthorized,
  it can not be enabled.
  @param authorized Pass <code>true</code> if the object is to be authorized