code: public void set(String propName, Object value) {
          if (propName.equals("roles")) {
              getRoles().add(((String) value));
          }
          if (propName.equals("entitlements")) {
              getEntitlements().add(((com.ibm.wsspi.security.wim.model.EntitlementType) value));
          }
          if (propName.equals("entitlementCheckResult")) {
              setEntitlementCheckResult(((Boolean) value));
          }
      }
docs: Sets the value of the provided property to the provided value.
  
  @param propName
  allowed object is {@link String}
  @param value
  allowed object is {@link Object}